Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Parsing and lexical analysis functions.
Synopsis
- parseModule :: Maybe FilePath -> [Extension] -> String -> ParseResult HsModule
- lexCode :: HasCallStack => String -> [Token]
Documentation
parseModule :: Maybe FilePath -> [Extension] -> String -> ParseResult HsModule Source #
This function parses the given Haskell source code with the given file path (if any) and parse options.