
28 May
2010
28 May
'10
3:27 p.m.
On Tue, 2010-05-25 at 22:47 +0100, Mujtaba Boori wrote:
Hello I am try to solve this equation
Define a higher order function that tests whether two functions , both defined on integers , coincide for all integers between 1 and 100
how can I solve this ? is there any thing in Haskell library to solve this kind ?
Not so beginner answer (but not advanced I guess): import Control.Applicative check f g = all (liftA2 (==) f g) [1..100] Regards