The document summarizes functional concepts in Groovy including functions as values, higher order functions, curried functions, function composition, pure functions, tail call optimization, memoization, and lazy evaluation. It provides examples of each concept using a sample Geek data model. The document aims to demonstrate how to write Groovy code in a more functional style by leveraging these concepts.
40. Functional Treasures
Functions as values (First class citizens)
Higher order functions
Curried Functions
Function Composition
Pure Functions (Immutability)
Tail Call Optimization
Memoization
Lazy Evaluation