> ... to rewrite strings according to simple composable rules like ... more often than not, regexp/replace is a hack to avoid the "real thing" (parse -> AST -> transform -> AST' -> print).
such hacks tend to grow into something that is definitely not composable. but, you can be a hero ... http://xkcd.com/208/ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe