indigo-0.5.0: Convenient imperative eDSL over Lorentz.
Safe HaskellNone
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.