[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: info-macl@cambridge.apple.com
- From: hku!henkjan@relay.nluug.nl
- Date: Wed, 29 Jan 92 09:50:52 CET
The LOOP macro seems sort of over-eager in typing.
Allegro Lisp 1.3 didn't seem to bother, but MACL 2.0B does.
How do you work around this (awaiting the bug to be fixed
in the LOOP macro, I presume)?
;;; example with LOOP macro
(loop for number from 0 to 1 by .1
do (print number))
;;; its macro expansion
((LAMBDA (NUMBER)
(DECLARE (TYPE FIXNUM NUMBER))
(BLOCK NIL
(LET ()
(TAGBODY
LOOP::NEXT-LOOP
(WHEN (> NUMBER 1) (GO LOOP::END-LOOP))
(PRINT NUMBER)
(SETQ NUMBER (+ NUMBER 0.1))
(GO LOOP::NEXT-LOOP)
(GO LOOP::END-LOOP)
LOOP::END-LOOP))))
0)
henkjan honing
hku!uucp