Can someone give me a clever way to implement mapKeysMaybe, defined as follows?Ord k => (k -> Maybe k) -> Map k a -> Map k awhere the transformed keys that evaluate to Just are the only ones kept?I am thinking this will probably help me understand a new type, like traversable or something.
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners