Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
parseWithMax :: ByteString -> Either (ParseError AlexPosn) (Int, Module AlexPosn AlexPosn AlexPosn) Source #
data ParseError a Source #
Unexpected (Token a) | |
LexErr String | |
NoImpl (Name a) |
Instances
Pretty a => Show (ParseError a) Source # | |
Defined in Kempe.Parser showsPrec :: Int -> ParseError a -> ShowS # show :: ParseError a -> String # showList :: [ParseError a] -> ShowS # | |
Generic (ParseError a) Source # | |
Defined in Kempe.Parser type Rep (ParseError a) :: Type -> Type # from :: ParseError a -> Rep (ParseError a) x # to :: Rep (ParseError a) x -> ParseError a # | |
(Pretty a, Typeable a) => Exception (ParseError a) Source # | |
Defined in Kempe.Parser toException :: ParseError a -> SomeException # fromException :: SomeException -> Maybe (ParseError a) # displayException :: ParseError a -> String # | |
NFData a => NFData (ParseError a) Source # | |
Defined in Kempe.Parser rnf :: ParseError a -> () # | |
Pretty a => Pretty (ParseError a) Source # | |
Defined in Kempe.Parser pretty :: ParseError a -> Doc ann # prettyList :: [ParseError a] -> Doc ann # | |
type Rep (ParseError a) Source # | |
Defined in Kempe.Parser |