Language.PureScript.CoreFn.Laziness

purescript-0.15.15: PureScript Programming Language Compiler

Safe Haskell | None
Language | Haskell2010

Language.PureScript.CoreFn.Laziness

Synopsis

- applyLazinessTransform :: ModuleName -> [((Ann, Ident), Expr Ann)] -> ([((Ann, Ident), Expr Ann)], Any)

# Documentation

applyLazinessTransform :: ModuleName -> [((Ann, Ident), Expr Ann)] -> ([((Ann, Ident), Expr Ann)], Any) #

Transform a recursive binding group, reordering the bindings within when a correct initialization order can be statically determined, and rewriting bindings and references to be lazy otherwise.