Safe Haskell | None |
---|
Operations on the Fixed Point Operator (fix)
Note that many of these operations require fix
to be in scope.
Externals for manipulating fixed points, and for the worker/wrapper transformation.
Rewrites and BiRewrites on Fixed Points
fixComputationRule :: BiRewriteH CoreExprSource
fix ty f
<==> f (fix ty f)
rollingRule :: BiRewriteH CoreExprSource
fix tyA (\ a -> f (g a))
<==> f (fix tyB (\ b -> g (f b))