Hi Conal

I don't know if any Haskell src-exts code exists. Norman Ramsey has
published an algorithm for it, plus ML code:

http://www.cs.tufts.edu/~nr/pubs/unparse-abstract.html

I've transcribed the code to Haskell a couple of times for small
expression languages. As far as I remember you need to know what
constructors you are working with so it can't be put in a "generic"
pretty print library, but the constructor specific code is
"stereotypical" so it should be easy (if boring) to write for Haskell
src-exts.

Best wishes

Stephen

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to