purescript-0.15.7: PureScript Programming Language Compiler
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.PureScript.CoreFn.Laziness

Synopsis

Documentation

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

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.