Add flipped fmap
Nicolas Pouillard
nicolas.pouillard at gmail.com
Wed Apr 7 05:50:08 EDT 2010
On Wed, 7 Apr 2010 11:13:02 +0200, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> Hello,
>
> I would like to propose adding a flipped variant of <$> to Data.Functor:
>
> (<$$>) â· Functor f â f α â (α â β) â f β
> (<$$>) = flip (<$>)
>
> Please see the ticket for motivation and patch:
>
> http://hackage.haskell.org/trac/ghc/ticket/3962
I support this proposition, in particular the name choice which is consistent.
--
Nicolas Pouillard
http://nicolaspouillard.fr
More information about the Libraries
mailing list