[Haskell-cafe] Fmap and Map for lists

Francesco Ariis fa-ml at ariis.it
Mon Sep 28 01:12:23 UTC 2015


On Sun, Sep 27, 2015 at 08:11:00PM -0500, Strikingwolf2012 . wrote:
> Does anyone have any idea why fmap (Functor map) and the list map are
> separate functions? I think it would make plenty sense for the Functor map
> to just be named map and have lists respond to that

http://stackoverflow.com/questions/6824255/whats-the-point-of-map-in-haskell-when-there-is-fmap/6824333

tl;dr: Historical reasons, have more of this
here https://wiki.haskell.org/Nitpicks


More information about the Haskell-Cafe mailing list