On 3/12/07, Albert Y. C. Lai <[EMAIL PROTECTED]> wrote:
main = print (map (const 'x') (take 1 (undefined:undefined)))

In ghci, or with ghc -O0, this produces "x".
With ghc -O, this produces Prelude.undefined.


What version of ghc?

Cheers,
Kirsten

--
Kirsten Chevalier* [EMAIL PROTECTED] *Often in error, never in doubt
"make them believe, if not in magic, in money well spent" -- Annie Gallup
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to