>From: Lennart Augustsson <[EMAIL PROTECTED]>
>...
>And now for a little quiz.  What's the value of the following (legal)
>Haskell expression?  (Don't try it with hbc, it fails.)
>
>        let (+) + 1 + 1 = (+)
>        in  1 + 1
>
>    -- Lennart
>
Gofer Version 2.28a  Copyright (c) Mark P Jones 1991-1993

Reading script file "/usr/local/lib/Gofer/standard.prelude":
                   
Gofer session for:
/usr/local/lib/Gofer/standard.prelude
Type :? for help
?  let (+) + 1 + 1 = (+)  in  1 + 1
0
(2 reductions, 6 cells)
-----------
Could you help me to reason the output?

Bambang N. Prastowo ([EMAIL PROTECTED])
Software Technology Laboratory, Dept. Computing & Info. Sci.
Queen's Univ., Kingston, Ontario, Canada K7L 3N6

Reply via email to