Suppose that you want to use a list data structure to implement a Set data type. Write insert and member operations in (a) Scheme; (b) ML; (c) Haskell. Make sure that in ML and Haskell your Set data type is distinct from a list. (d) In Haskell, define your Set type to be an instance of classes Eq and Show.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here