Question: Consider the following function. func:: Ord a => a -> a -> a func xy | x> y=x ly > x=y Why does this
Consider the following function. func:: Ord a => a -> a -> a func xy | x> y=x ly > x=y Why does this function need to restrict its type to members of the Ord typeclass?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
