Add flipped fmap

Edward Kmett ekmett at gmail.com
Thu Apr 8 17:19:54 EDT 2010


>
> But I don't see much benefit to having (<**>) let alone (<$$>), when they
> are easily defined by using flip. The other clutter of Applicative ((<*),
> (*>),...) can be motivated by performance concerns for certain applicative
> combinator parsers, but I'm not a big fan of them either.
>

While this is a valid concern with regards to <$$>, <**> cannot be defined
in terms of flip as it swaps the order of the effects as well.

-Edward Kmett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/libraries/attachments/20100408/3b6bc99f/attachment.html


More information about the Libraries mailing list