The functional style Flashcards
1
Q
first order functions
A
no self reference
linear
do not take other functions as arguments
2
Q
higher order functions
A
take other functions as arguments
returns functions as a result
3
Q
how are comupations described in FP
A
list of equations that relate inputs to outputs
4
Q
Strict evaluation
A
evaulates arguments before calling the functions
5
Q
lazy evaluation
A
evaluates arguments only when they’re needed and about to be used
Haskell - no shared expression is evaluated more than once