[Haskell-cafe] Language.Haskell.Parser and literate Haskell
niklas.broberg at gmail.com
Mon Apr 13 19:08:38 EDT 2009
> Are there ability to parse literate haskell source with
> Language.Haskell.Parser, or maybe
> there is some tool, which converts .lhs files to .hs ?
Use the haskell-src-exts package instead of haskell-src. The function
parseFile in Language.Haskell.Exts will de-literate the file for you
if the suffix is .lhs.
More information about the Haskell-Cafe