Question: Consider the following instance of the Functor Eq: data Pair b = P i] b instance (Eq a, Eq b)Eq (Pair a b) where --(--)

 Consider the following instance of the Functor Eq: data Pair b

Consider the following instance of the Functor Eq: data Pair b = P i] b instance (Eq a, Eq b)Eq (Pair a b) where --(--) :: Pair a b-> Pair a b-> Bool (a) Prove that this satisfies Reflexivity (b) Prove that this satisfies Symmetry (c) Prove that this satisfies Transitivity. Consider the following instance of the Functor Eq: data Pair b = P i] b instance (Eq a, Eq b)Eq (Pair a b) where --(--) :: Pair a b-> Pair a b-> Bool (a) Prove that this satisfies Reflexivity (b) Prove that this satisfies Symmetry (c) Prove that this satisfies Transitivity

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!