[Haskell-cafe] Re: literate Haskell newbie question

Christian Maeder maeder at tzi.de
Fri Mar 9 09:36:51 EST 2007


Immanuel Normann schrieb:
> I am a newbie to literate Haskell and these are my two simple questions:
> 
> How do I compile a literate haskell file foo.lhs (using ghc-6.6)?

The same way, how you would translate foo.hs

> Is there a tool that translates foo.lhs to foo.hs?

there is an "unlit" program under ghc's libdir (that you usually do not
need):

/usr/local/lib/ghc-6.6/unlit

Cheers Christian



More information about the Haskell-Cafe mailing list