Re: Literate Programming in Haskell?

Hello Haskell Community, Probably somebody else has already brought this issue up already. Why can't we have some kind of integrated literate programming model where I can I can have hyperlinks in comments to documents represented in XML?? In other words, a kind of seamless literate progarmming environment in Haskell with XML, i.e. Haskell and XML are seamless?? E.g. here is a step in the right direction by writing in Literate Haskell in HTML!: http://www.numeric-quest.com/haskell/ The stuff at this URL is pretty cool, i.e. "Haskell" scripts written in HTML. I want to also see hyperlinks to XML docs in Literate Haskell comments or maybe even to Haskell code! Regards, Bill Halchin
From: "Erik Meijer"
To: "Patrik Jansson" , CC: Subject: Re: Literate Programming in Haskell? Date: 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"
To: Cc: 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
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
participants (1)
-
Bill Halchin