[Haskell-cafe] Extract source code from literate Haskell (LHS) files

Pekka Karjalainen p3k at iki.fi
Mon Oct 1 04:11:00 EDT 2007


On 9/30/07, Peter Verswyvelen <bf3 at telenet.be> wrote:
>
>  This is of course very easy to do manually, but does a command line tool
> exist for extracting source code from literate Haskell files?

There are a lot of good answers already. You can also use some GHC
command line options.

Please see: http://haskell.org/haddock/haddock-html-0.8/invoking.html#cpp

Pekka


More information about the Haskell-Cafe mailing list