Fmap and Map for lists
28 Sep
2015
28 Sep
'15
6:41 a.m.
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
28 Sep
28 Sep
6:42 a.m.
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... tl;dr: Historical reasons, have more of this here https://wiki.haskell.org/Nitpicks
3757
Age (days ago)
3757
Last active (days ago)
1 comments
2 participants
participants (2)
-
Francesco Ariis -
Strikingwolf2012 .