
13 Apr
2009
13 Apr
'09
7:08 p.m.
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. Cheers, /Niklas