Defining functions Flashcards

Use of conditionals, guards and pattern matching

1
Q

What is a lamba expression?

A

A nameless function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why are lambdas helpful?

A
  • Avoid naming functions that are referenced once
  • Helpful in currying
How well did you know this?
1
Not at all
2
3
4
5
Perfectly