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

Cristian Baboi cristi at ot.onrc.ro
Mon Dec 31 04:05:37 EST 2007


On Mon, 31 Dec 2007 10:59:28 +0200, Achim Schneider <barsoap at web.de> wrote:

> Achim Schneider <barsoap at web.de> wrote:
>
>> "Cristian Baboi" <cristi at ot.onrc.ro> wrote:
>>
>> > What is infinite in let x = x in x ?
>>                           ^   |    |
>>                           |___/    |
>>                           \________/
>>
> a = let x = x in x
> is actually only quite verbose for
> a = undefined,
>
> the only difference being that undefined is a nicer _|_ than let x = x
> in x.
>

I could have written this instead:

a :: Something
a = a

Which is nicer than undefined.





________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Servers.
  part000.txt - is OK
http://www.eset.com


More information about the Haskell-Cafe mailing list