Haskell-src-ext

Niklas Broberg niklas.broberg at gmail.com
Mon Apr 14 17:09:47 EDT 2008


>  Does your pretty-printer round trip?

Absolutely. I'd think a parser that can't parse what the
pretty-printer yields means you either have a broken parser or a
broken pretty-printer. :-)

Except for line numbering (it inserts but doesn't read line pragmas),
the AST should be preserved under f = parse . pretty.

Cheers,

/Niklas


More information about the Glasgow-haskell-users mailing list