Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Parser for Haskell source code.
Synopsis
- parseModule :: MonadIO m => Config RegionDeltas -> LazyFixityMap -> FilePath -> Text -> m ([Warn], Either (SrcSpan, String) [SourceSnippet])
- manualExts :: [Extension]
Documentation
:: MonadIO m | |
=> Config RegionDeltas | Ormolu configuration |
-> LazyFixityMap | Fixity map to include in the resulting |
-> FilePath | File name (only for source location annotations) |
-> Text | Input for parser |
-> m ([Warn], Either (SrcSpan, String) [SourceSnippet]) |
Parse a complete module from string.
manualExts :: [Extension] Source #
Extensions that are not enabled automatically and should be activated by user.