13 Apr
2009
13 Apr
'09
11:55 p.m.
Jason, Thank you for your answer. I haven't found unliterate capability in GHC, but I found unlit function in Distribution.Simple.PreProcess.Unlit, which do the things I needed. Best regards, Vasyl 2009/4/14 Jason Dagit <dagit@codersbase.com>:
On Mon, Apr 13, 2009 at 3:37 PM, Vasyl Pasternak <vasyl.pasternak@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.
Jason