Wouldn't this be dependent upon your AST and thus not readily "package-able" as a library?
Expression simplification has been a prime example for Strafunski style traversal libraries. You might be able to find examples that you can adapt to your own AST written with Uniplate or similar library. On 11 August 2011 05:00, Anton Kholomiov <anton.kholom...@gmail.com> wrote: > Is there a library on common sub-expression elimination? > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe