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

Cristian Baboi cristi at ot.onrc.ro
Mon Dec 31 03:31:42 EST 2007


It give Something.

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

> "Cristian Baboi" <cristi at ot.onrc.ro> wrote:
>
>> How about
>>
>> a :: Something
>> a = let x = x in x
>>
> :t a
> would give (a -> [a]), not Something, or am I mistaken?
>




________ 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