Generalizing map?

Carter Schonwald carter.schonwald at
Fri Mar 13 15:06:03 UTC 2015

Earlier versions of the haskell standard originally named fmap map.  It was
only as of haskell 1.4 or so that what was then map got renamed to map

I think the only technical objection is making sure that theres no
performance regressions wrt applicable fusion opportunities.

Subject to that, hearty plus one to fmap reclaiming map :)
> Although I would prefer the far more radical (and thus far more
unlikely to ever happen) approach of actually renaming 'fmap' to 'map'.

I'd vote for that too.

Libraries mailing list
Libraries at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list