Which of the following is the signature for the higher-order function map
Which of the following is the signature for the higher-order function map
A) map: (Alpha -> Beta) ListOfBeta -> ListOfAlpha
B) map: (Alpha -> Boolean) ListOfAlpha -> ListOfAlpha
C) map: (Alpha -> Beta) ListOfAlpha -> Boolean
D) map: (Alpha -> Beta) ListOfAlpha -> ListOfBeta
E) map: (Alpha -> Boolean) ListOfAlpha -> Boolean
Which statements below are true for locals? (Select all which apply)
A) A local can contain arbitrarily-many definitions
B) locals can be nested arbitrarily deeply
C) Previously defined functions can be redefined within a local
D) The last part of a local is an expression—the return value of the local
E) Constants defined in an outer local can be redefined within an inner local
F) Global (top-level) constants can be redefined within a local
Step by step
Solved in 2 steps with 1 images