[Haskell-cafe] Wikipedia on first-class object
Jonathan Cast
jonathanccast at fastmail.fm
Thu Dec 27 10:40:03 EST 2007
On 27 Dec 2007, at 8:08 AM, Cristian Baboi wrote:
> On Thu, 27 Dec 2007 14:02:36 +0200, Lennart Augustsson
> <lennart.augustsson at gmail.com> wrote:
>
>> Comparing functions is certainly possible in Haskell, but there's no
>> standard function that does it.
>> If course, it might not terminate, but the same is true for many
>> other
>> comparable objects in Haskell, e.g., infinite lists (which are
>> isomorphic to
>> Nat->T).
>
> The list [1 .. ] is a single value in Haskell ?
Yes. Of course.
jcc
More information about the Haskell-Cafe
mailing list