Question: Consider the functions double and palindrome, defined respectively as double x = x * * 2 palindrome x s = reverse x s = =
Consider the functions double and palindrome, defined respectively as double
palindrome reverse
a What is the type of double?
b What is the type of palindrome?
c Notice that there are certain type class constraints present in both types of double and palindrome. What is the reason for this, in either case?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
