> > 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
Hi Peter,
> 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.
Thanks
Neil
On 9/30/07, Peter Verswyvelen <[EMAIL PROTECTED]> wrote:
>
>
> Thanks,
> Peter
>
>
> __
On 9/30/07, Peter Verswyvelen <[EMAIL PROTECTED]> 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 se
This is of course very easy to do manually, but does a command line tool
exist for extracting source code from literate Haskell files?
something like:
sed -e '/^[^>]/d' -e 's/^>//g' < foo.lhs > foo.hs
the first expression deletes lines not starting with ">". The
second expression removes th
On Sep 30, 2007, at 14:39 , Peter Verswyvelen 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?
"unlit" in the GHC library directory?
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL
This is of course very easy to do manually, but does a command line tool
exist for extracting source code from literate Haskell files?
Thanks,
Peter
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell