Or by using '<$>' and '<*>', which is a bit more general:
> In particular, (~+) = liftA2 (+), and similarly for (~-). This uses
> the ((->) e) instance of Applicative.
(+) <$> f <*> g
funcWith3Args <$> f <*> g <*> h
Greetings,
Daniel
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners