import Control.Applicative

f, g :: Float -> Float
f x = x + 1
g x = 2 * x

h = (+) <$> f <*> g


Cheers, =)

-- 
Felipe.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to