
29 Sep
2013
29 Sep
'13
5:53 a.m.
On 27 September 2013 21:51, Thiago Negri
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