On Mon, 31 Dec 2007 11:14:39 +0200, Achim Schneider <[EMAIL PROTECTED]> wrote:
"Cristian Baboi" <[EMAIL PROTECTED]> wrote:
On Mon, 31 Dec 2007 10:59:28 +0200, Achim Schneider <[EMAIL PROTECTED]>
wrote:
I could have written this instead:
a :: Something
a = a
Which is nicer than undefined.
[EMAIL PROTECTED] ~ % ghci
GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
Prelude> let a = undefined
Prelude> a
*** Exception: Prelude.undefined
Prelude> let a = a
Prelude> a
Interrupted.
nope, it isn't.
If you try it again
Prelude> a
*** Exception: Stack overflow
________ 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
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe