[Haskell-cafe] Re: literate Haskell newbie question

2007-03-10 Thread Stefan Monnier
cat foo.lhs | grep -e ^ | sed s/^ // Running for the Useless Use of cat Award? A simpler version would be: sed -n -e 's/^//p foo.lhs I don't guarantee that this will work correctly, tho. Maybe sed -n -e 's/^ //p foo.lhs will work better? This said, the OP talked about TeX, so

[Haskell-cafe] Re: literate Haskell newbie question

2007-03-09 Thread Christian Maeder
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

Re: [Haskell-cafe] Re: Literate Haskell

2005-02-19 Thread Dmitri Pissarenko
Thanks all for your answers! -- Dmitri Pissarenko Software Engineer http://dapissarenko.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe