[Haskell-cafe] Wikipedia on first-class object

Jonathan Cast jonathanccast at fastmail.fm
Thu Dec 27 10:41:57 EST 2007


On 27 Dec 2007, at 8:28 AM, Cristian Baboi wrote:

>
> How about x below:
>
> let x=(1:x) in x ?
>
> Is x a single value in Haskell ?

(let x=1:x in x) is.  x went out of scope a couple of lines back.

jcc



More information about the Haskell-Cafe mailing list