Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
newtype
ParsecT e s (m :: Type -> Type) amegaparsec Text.Megaparsec.Internal ParsecT e s m a is a parser with custom data component of error e, stream type s, underlying monad m and return type a.
-
megaparsec Text.Megaparsec.Internal No documentation available.
-
Textual source position. The position includes name of file, line number, and column number. You probably do not want to import this module directly because Text.Megaparsec re-exports it anyway.
-
megaparsec Text.Megaparsec.Pos Pos is the type for positive integers. This is used to represent line number, column number, and similar things like indentation level. Semigroup instance can be used to safely and efficiently add Poses together.
-
megaparsec Text.Megaparsec.State A special kind of state that is used to calculate line/column positions on demand.
PosState :: s -> Int -> SourcePos -> Pos -> String -> PosState smegaparsec Text.Megaparsec.State No documentation available.
-
ConstraintKind synonym for marking partial functions
-
safe Safe.Partial A constraint synonym which denotes that the function is partial, and will (on GHC 8.* and up) produce a stack trace on failure. You may mark your own non-total functions as Partial, if necessary, and this will ensure that they produce useful stack traces.
-
extra Control.Exception.Extra A constraint which documents that a function is partial, and on GHC 8.0 and above produces a stack trace on failure. For example:
myHead :: Partial => [a] -> a myHead [] = error "bad" myHead (x:xs) = x
When using Partial with GHC 7.8 or below you need to enable the language feature ConstraintKinds, e.g. {-# LANGUAGE ConstraintKinds #-} at the top of the file. -
extra Extra A constraint which documents that a function is partial, and on GHC 8.0 and above produces a stack trace on failure. For example:
myHead :: Partial => [a] -> a myHead [] = error "bad" myHead (x:xs) = x
When using Partial with GHC 7.8 or below you need to enable the language feature ConstraintKinds, e.g. {-# LANGUAGE ConstraintKinds #-} at the top of the file.