[Haskell-cafe] Re: Math questions

Richard O'Keefe ok at cs.otago.ac.nz
Fri May 28 00:52:24 EDT 2010


On May 28, 2010, at 1:05 PM, Ivan Miljenovic wrote:

> On 28 May 2010 09:37, Richard O'Keefe <ok at cs.otago.ac.nz> wrote:
>>
>> On May 27, 2010, at 11:50 PM, Yitzchak Gale wrote:
>>>
>>> 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.
>
> You mean like this?
>
> http://haskell.org/hoogle/?hoogle=on
> http://haskell.org/hoogle/?hoogle=for

Yes, that kind of thing.
Remember, this was a BEGINNER-type question.
If one is giving a *serious* answer, it has to be an answer a
beginner (who has almost certainly never heard of Traversable)
can make sense of, and if it uses functions that are pretty
much certain not to be in said beginner's text book, said
beginner has to be told quite clearly where to find them.




More information about the Haskell-Cafe mailing list