Literate Programming in Haskell?

Erik Meijer erik@meijcrosoft.com
Mon, 19 Feb 2001 22:00:47 -0800


You also might take a look at Maarten Fokkinga's mira.sty
http://www.cse.ogi.edu/~mbs/src/textools/ and Mark Shileds' abbrev.sty which
was derived from that http://www.cse.ogi.edu/~mbs/src/textools/.

Erik
----- Original Message -----
From: "Patrik Jansson" <patrikj@cs.chalmers.se>
To: <haskell-cafe@haskell.org>
Cc: <ralf@cs.uu.nl>
Sent: Monday, February 19, 2001 6:07 AM
Subject: Re: Literate Programming in Haskell?


> On Mon, 19 Feb 2001, Bostjan Slivnik wrote:
> >
> > > I'm also very interested in this, but ideally I would want the output
to
> > > be in some proportional font, with symbols like =>, ->, <- replaced
with
> > > arrows, etc. Also, it would be very nice to have the code
automatically
> > > column aligned (using heuristics).
> >
> > So am I.  Is anybody willing to cooperate on the desing of such tool?
>
> A tool I am using is Ralf Hinze's lhs2tex
>
>   http://www.informatik.uni-bonn.de/~ralf/Literate.tar.gz
>
>   http://www.informatik.uni-bonn.de/~ralf/Guide.ps.gz
>
> It transforms .lhs files (with some formatting commands in LaTeX-style
> comments) to LaTeX. Development based on this idea is something I would be
> willing to participate in as I already have a fair amount of Haskell
> code/articles (read: my PhD thesis;-) in this format.
>
> Maybe Ralf can say something about his views on further development of
> lhs2tex (copyright etc.) by other people (us?).
>
> /Patrik Jansson
>
> PS. I have made some small improvements to lhs2tex locally and I seem to
>     remember that one or two of those were actually needed to get it to
>     run with my ghc version.
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe