3 ms·
Nope, `fmap` is indeed short for functor map. It's a historical accident in Haskell as `map` was specialised for lists (ie. `[]`) from the start and later, when
by pwm 5y ago
Nope, `fmap` is indeed short for functor map. It's a historical accident in Haskell as `map` was specialised for lists (ie. `[]`) from the start and later, when mapping would be generalised to all things Functorial, it needed a new name so as to not break everything, hence `fmap`.
- wlamartin 5y agoAwesome thank you for the clarification. I extra agree with the confusion then since `fmap` sounded exactly like `flatMap` to me!