Add flipped fmap
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries