On 27 September 2013 21:51, Thiago Negri <evoh...@gmail.com> wrote:
> Stop lifting, start using shinny operators like this one:
>
>     (^$) :: Monad m => m a -> (a -> b -> c) -> m b -> m c
>     (^$) = flip liftM2

Note that something like this is already provided by the
InfixApplicative library:

http://hackage.haskell.org/package/InfixApplicative
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to