Exam-style question
Try this first
Explain the meaning of the function type f: A → B. In your answer, distinguish between the domain, the co-domain, the argument type and the result type.
Answer and explanation
Concise answer
The notation describes a function named f whose argument type is A and whose result type is B.
Why this is correct
A complete answer identifies A as both the argument type and domain, and B as both the result type and co-domain. It should also state that the co-domain can contain members that are never produced.
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.
