From: Felipe Almeida Lessa <felipe.lessa@gmail.com>
To: sdiyazg@sjtu.edu.cn
Cc: haskell-cafe@haskell.org
Date: Mon, 19 Mar 2012 14:24:13 -0300
Subject: Re: [Haskell-cafe] Are there arithmetic composition of functions?
import Control.Applicative
f, g :: Float -> Float
f x = x + 1
g x = 2 * x
h = (+) <$> f <*> g
Cheers, =)
--
Felipe.