Make Prelude's map = fmap

Isaac Dupree ml at isaac.cedarswampstudios.org
Mon Jun 24 09:56:23 CEST 2013


I'm indifferent; I either use List.map, Map.map etc. for explicitness,
or fmap for generality.  I'll keep doing this regardless of what
Prelude.map is.  By the way, not all mappable types can be in Functor,
e.g. Set and ByteString.

-Isaac



More information about the Libraries mailing list