Absolutly. Every expression in Haskell denotes a value.
Now, we've not agreed what "value" means, but to me it is a value. :)
-- Lennart
How about x below:
let x=(1:x) in x ?
Is x a single value in Haskell ?
------- Forwarded message -------
From: "Cristian Baboi" <cristi@ot.onrc.ro >
To: "Lennart Augustsson" <lennart.augustsson@gmail.com>
Cc: "haskell-cafe@haskell.org" < haskell-cafe@haskell.org>
Subject: Re: [Haskell-cafe] Wikipedia on first-class objectDate: Thu, 27 Dec 2007 16:08:58 +0200
On Thu, 27 Dec 2007 14:02:36 +0200, Lennart Augustsson
<lennart.augustsson@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
http://www.eset.com_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe