[Haskell-cafe] Monoid wants a (++) equivalent
porges at porg.es
Sat Jul 4 01:26:09 EDT 2009
2009/7/4 Jason Dusek <jason.dusek at gmail.com>:
> 2009/07/03 George Pollard <porges at porg.es>:
>> Also, throw out `map`. ;)
> What is the proper name for the operation on functions of a
> functor, anyway? The name `fmap` seems to driven by an analogy
> with `map`.
This is getting a little off topic, but I don't believe it has a name.
In category theory the name of the functor is used as an operation on
the function, so that given the functor "F", instead of writing `fmap
f` you'd write `F(f)`. I think this is one area where Haskell wins
More information about the Haskell-Cafe