Save
Computer Science Revision
Paper 2
Fundamentals of Functional Programming
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Beelze
Visit profile
Cards (7)
Which of the following is not true of first-class objects?
They can appear in expressions
They can be assigned to a data type
They can be assigned as arguments
They can be returned in function calls
2
What name is given to the set of outputs from a function?
Co-domain
Which part of this type signature is the argument type: f: A -> B
A
What name is given to the set of inputs to a function?
Domain
What do functional programs use as first-class objects?
Functions
What name is given to the process of giving particular inputs to a function?
Function application
What must be true of two functions if they are to be combined?
The
domain
of one of the functions must be the same as the
co-domain
of the other function.