[Haskell-cafe] Math questions

Mujtaba Boori mujtaba.boori at gmail.com
Tue May 25 18:49:03 EDT 2010


Thank you all you , that is really impressive .


I will read your response carefully , and  I think this it is enough to
understand it.

On 25 May 2010 23:43, Daniel Fischer <daniel.is.fischer at web.de> wrote:

> On Tuesday 25 May 2010 23:47:30, 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 ?
>
> Sure. Lots of things to do it in different ways. All boil down to
> - for each integer from 1 to 100
> - check whether f i == g i
>
> Look at
>
> http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Prelude.html
> , there are  useful functions for this. You will probably want to use 'and'
> or 'all'.
>
>


-- 
Mujtaba Ali Alboori
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100525/cece6456/attachment.html


More information about the Haskell-Cafe mailing list