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

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Sat Oct 6 17:10:15 EDT 2007

> >  This is of course very easy to do manually, but does a command line tool
> > exist for extracting source code from literate Haskell files?
> Cpphs is the perfect tool to do this.

In case the link is not immediately obvious, cpphs has the -unlit flag
to remove the literate parts of the file, leaving pure code.


More information about the Haskell-Cafe mailing list