Fwd: Re: [Haskell-cafe] Wikipedia on first-class object

Cristian Baboi cristi at ot.onrc.ro
Thu Dec 27 09:28:38 EST 2007

How about x below:

let x=(1:x) in x ?

Is x a single value in Haskell ?

------- Forwarded message -------
From: "Cristian Baboi" <cristi at ot.onrc.ro>
To: "Lennart Augustsson" <lennart.augustsson at gmail.com>
Cc: "haskell-cafe at haskell.org" <haskell-cafe at haskell.org>
Subject: Re: [Haskell-cafe] Wikipedia on first-class object
Date: Thu, 27 Dec 2007 16:08:58 +0200

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 ?

________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Servers.
  part000.txt - is OK

More information about the Haskell-Cafe mailing list