Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
cseFold :: Proc -> Proc Source #
Find each common sub-expression and extract it to a new variable, making any sharing explicit. However, this function should never move evaluation of an expression earlier than it would have occurred in the source program, which means that sometimes an expression must be re-computed on each of several execution paths.