Slide 23
Slide 23 text
• purity and immutability guarantees
• function literals
• function closures
• functions as first-class values
• enums (aka, sum types, tagged unions)
• algebraic data types
• type inference
• fancy types: first-order, recursive,
dependent, higher-kinded, constrained,
etc..
FEATURES
• Idioms
• combine, pass, & return
functions like other values
• Restrictions
• pure functions
• immutable data
• Type systems (sometimes)
• to check valid values
STYLE supported by