[Haskell-cafe] Proposal: new function for lifting
Bas van Dijk
v.dijk.bas at gmail.com
Sun Sep 29 11:53:25 CEST 2013
On 27 September 2013 21:51, Thiago Negri <evohunz at 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
More information about the Haskell-Cafe
mailing list