Lambdas

Note: Lambdas are only available in Lucee 5+

Lambdas in Lucee are a more succienct syntax for creating closures and programming in a functional programming style. Consider this traditional closure:

When executed this will output foo

The same closure can be written as a lambda like so:

results matching ""

    No results matching ""