Safe Haskell | None |
---|
- papillon :: QuasiQuoter
- class Source sl where
- class SourceList c where
- data ListPos c
- listToken :: [c] -> Maybe (c, [c])
- listInitialPos :: ListPos c
- listUpdatePos :: c -> ListPos c -> ListPos c
- data ParseError pos drv
- mkParseError :: forall pos drv. String -> String -> String -> drv -> [String] -> pos -> ParseError pos drv
- peDerivs :: ParseError pos drv -> drv
- peReading :: ParseError pos drv -> [String]
- peMessage :: ParseError pos drv -> String
- peCode :: ParseError pos drv -> String
- peComment :: ParseError pos drv -> String
- pePosition :: ParseError pos drv -> pos
- pePositionS :: forall drv. ParseError (Pos String) drv -> (Int, Int)
- (<*>) :: Applicative f => forall a b. f (a -> b) -> f a -> f b
- (<$>) :: Functor f => (a -> b) -> f a -> f b
- runError :: forall err a. ErrorT err Identity a -> Either err a
Documentation
SourceList c => Source [c] |
class SourceList c whereSource
listToken :: [c] -> Maybe (c, [c])Source
listInitialPos :: ListPos cSource
listUpdatePos :: c -> ListPos c -> ListPos cSource
For parse error message
data ParseError pos drv Source
Error (ParseError pos drv) |
mkParseError :: forall pos drv. String -> String -> String -> drv -> [String] -> pos -> ParseError pos drvSource
peDerivs :: ParseError pos drv -> drvSource
peReading :: ParseError pos drv -> [String]Source
peMessage :: ParseError pos drv -> StringSource
peCode :: ParseError pos drv -> StringSource
peComment :: ParseError pos drv -> StringSource
pePosition :: ParseError pos drv -> posSource
pePositionS :: forall drv. ParseError (Pos String) drv -> (Int, Int)Source
(<*>) :: Applicative f => forall a b. f (a -> b) -> f a -> f b
Sequential application.