[Haskell-cafe] Math questions

caseyh at istar.ca caseyh at istar.ca
Tue May 25 18:12:05 EDT 2010


Quoting Mujtaba Boori <mujtaba.boori at gmail.com>:

> 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 ?
>
> --
> Mujtaba Ali Alboori
>

This sounds like homework.

In any case, won't your HOF take as input the two functions and the  
input range to check.
Then think about how you might compare the output of the two functions.




More information about the Haskell-Cafe mailing list