indigo-0.6.0: Convenient imperative eDSL over Lorentz.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Indigo.Compilation.Lambda

Synopsis

Documentation

compileLambdas :: (Block, RefId) -> (Block, RefId) Source #

Collects named lambdas that are used more than once and separates them into a lambda creation and multiple lambda executions. Leaves the remaining lambdas untouched, to be compiled inline.