Defining functions Flashcards
Use of conditionals, guards and pattern matching
1
Q
What is a lamba expression?
A
A nameless function
2
Q
Why are lambdas helpful?
A
- Avoid naming functions that are referenced once
- Helpful in currying