Proposal: Add <&> to Data.Functor

David Feuer david.feuer at gmail.com
Sun Aug 21 17:23:13 UTC 2016


The <&> operator is rather popular:

(<&>) :: Functor f => f a -> (a -> b) -> f b
(<&>) = flip fmap

Now that we have (&) in Data.Function, I think we should have (<&>) in
Data.Functor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20160821/07d41f12/attachment.html>


More information about the Libraries mailing list