Niklas,

I suspected that haskell-src-exts should have this function, but it
was  undocumented :)

Thank you for the tip.

Best regards,
Vasyl

2009/4/14 Niklas Broberg <[email protected]>:
>> 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
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to