Exam-style question
Try this first
Which statement correctly describes partial application of a two-argument function?.
- A.Both arguments must be supplied before any result can be obtained
- B.Supplying the first argument returns a function waiting for the second argument
- C.Supplying the first argument always returns an integer immediately
- D.The function can only be used with one argument in total
Answer and explanation
Concise answer
Supplying the first argument returns a function waiting for the second argument
Why this is correct
For add, supplying the first integer produces another function. That function accepts the remaining integer and then produces the integer result.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
