Exam-style question
Try this first
A function takes three integer arguments one after another and returns an integer. Describe the result of supplying only the first argument, and then the result of supplying the first two arguments. Use type notation in your answer.
Answer and explanation
Concise answer
The function can be represented as integer → integer → integer → integer when the brackets are omitted.
Why this is correct
Each supplied argument reduces the number of arguments still required by one. The intermediate results are functions, not final integer results, until all three arguments have been supplied.
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.
