Write Haskell Function Unique Returns List Elements Occur Exactly Argument List Must Use R Q37136803

  1. Write a Haskell function unique that returns the list ofelements that occur exactly once in the argumentlist.  Must use recursion and not listcomprehension. A helper function, or functions, may beuseful.
    unique :: Eq a => [a] -> [a]

Solution


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.