strange macro "or" behavior in CormanLisp2.01

北川 希 <[email protected]>
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
Hi, Corman Lisp Gurus,

I've noticed the following when I was doing a excercise in 
Paul Graham's ANSI Common Lisp:

[Corman Common Lisp 2.01]
(or 13 (/ 1 0))
;;; An error occurred in function /:
;;; Error: Divide by zero error: 1 / 0
----snip----

[Allegro Common Lisp 6.2]
CL-USER(1): (or 13 (/ 1 0))
13
CL-USER(2):

Macro OR should evaluate each form, one at a time, from left to right.
I think that Corman Lisp generates bad result.

_________________________________________________________________
 MSN    http://card.msn.co.jp/  


------------------------ Yahoo! Groups Sponsor ---------------------~-->
New Yahoo! Mail Plus. More flexibility. More control. More power.
Get POP access, more storage, more filters, and more.
http://us.click.yahoo.com/Hcb0iA/P.iFAA/46VHAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.