
18 Mar
2013
18 Mar
'13
11:27 a.m.
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.
Adrian.
On 18 March 2013 23:23, Daniel Trstenjak
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
Greetings, Daniel
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners