Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- parseProgram :: SourceName -> String -> Either ParseError [StatementI]
Documentation
parseProgram :: SourceName -> String -> Either ParseError [StatementI] Source #
all of the token parsers are lexemes which consume all trailing spaces nicely. | This leaves us to deal only with the first spaces in the file.