[Haskell-beginners] Simpler than lifting
adrian.alexander.may at gmail.com
Mon Mar 18 16:27:01 CET 2013
Thanks everyone! I knew it would be in there somewhere but I wasn't sure
where to look. I'll play with that stuff in the morning.
On 18 March 2013 23:23, Daniel Trstenjak <daniel.trstenjak at gmail.com> wrote:
> > In particular, (~+) = liftA2 (+), and similarly for (~-). This uses
> > the ((->) e) instance of Applicative.
> Or by using '<$>' and '<*>', which is a bit more general:
> (+) <$> f <*> g
> funcWith3Args <$> f <*> g <*> h
> Beginners mailing list
> Beginners at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners