| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Parser.Impl
Documentation
data ParseErrorImpl a Source #
Constructors
| NoParse | |
| AmbiguousGrammar [a] | |
| NotImplemented |
Instances
| Eq a => Eq (ParseErrorImpl a) Source # | |
| Show a => Show (ParseErrorImpl a) Source # | |
| Generic (ParseErrorImpl a) Source # | |
| Out a => Out (ParseErrorImpl a) Source # | |
| type Rep (ParseErrorImpl a) Source # | |
type ParseError = ParseErrorImpl [Judgement] Source #
parseString' :: ReadP a -> String -> Either (ParseErrorImpl a) a Source #
parseEntry :: ReadP [Judgement] Source #
parseString :: String -> Either ParseError [Judgement] Source #
parseFile' :: ReadP a -> FilePath -> IO (Either (ParseErrorImpl a) a) Source #