Vo Minh Thu wrote: > Why not make some kinf of AST and pretty-print it ? Yes, that's the logical next step. (And I've already coded it once. The example code was just to put across what I'm trying to do.) > Also you can use > -XOverloadedStrings to write "x" + "y" instead of Dye "x" + Dye "y". > Good tip.