Safe Haskell | None |
---|---|
Language | Haskell2010 |
Parsing of Haskell source files, and error reporting for unparsable files.
- parseSource :: FilePath -> IO (Either Log (Module SrcLoc, [CommentLink]))
Documentation
parseSource :: FilePath -> IO (Either Log (Module SrcLoc, [CommentLink])) Source
Parse Haskell source file, using CppHs for preprocessing, and haskell-src-exts for parsing.
Catches all exceptions and wraps them as Critical
log messages.