Proposal: Add <&> to Data.Functor

lennart spitzner lsp at informatik.uni-kiel.de
Thu Sep 1 08:53:09 UTC 2016


> infixl 1
I assume? (lens and some other libs agree on this fixity already.)

(also, +1)

On 21/08/16 19:23, David Feuer wrote:
> 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.
> 
> 
> 
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
> 



More information about the Libraries mailing list