[Haskell-cafe] Re: Math questions

Richard O'Keefe ok at cs.otago.ac.nz
Thu May 27 19:37:03 EDT 2010


On May 27, 2010, at 11:50 PM, Yitzchak Gale wrote:

> Mujtaba Boori wrote:
>> I think this answer agree100 f g = map f xs == map g xs where
>> xs = [1..100] from  Richard O'Keefe
>> is do the job.
>
> agree100 = (==) `on` for [1..100]

Search for "on" and "for" in the Haskell 98 Report and you
will not find them.  If you want to tell someone to use them,
you ought to tell them where to find them.



More information about the Haskell-Cafe mailing list