[Haskell-cafe] Language.Haskell.Parser and literate Haskell source

Jason Dagit dagit at codersbase.com
Mon Apr 13 18:46:20 EDT 2009

On Mon, Apr 13, 2009 at 3:37 PM, Vasyl Pasternak
<vasyl.pasternak at gmail.com> wrote:
> Hello,
> Are there ability to parse literate haskell source with
> Language.Haskell.Parser, or maybe
> there is some tool, which converts .lhs files to .hs ?

You can ask GHC to remove the literate bits.  I think the command is
called 'unlit' but check the GHC manual to be sure.


More information about the Haskell-Cafe mailing list