Re:Why learning Haskell makes you a better programmer
by kscaldef on Monday December 24, 2012 @03:40PM
(#4964010)
I think it's still pretty unclear what this function might do, since the inverse of a map isn't well-defined. I think this is a type signature that makes sense and has a fairly obvious most-likely meaning:
boo :: Map a b -> b -> Set a
I'm not sure how you would conjure up just an 'a' in general.
Here, you can't just magic into existence or modify an unknown 'a' value.