[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: firstname.lastname@example.org
- From: email@example.com
- 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
(DECLARE (TYPE FIXNUM NUMBER))
(WHEN (> NUMBER 1) (GO LOOP::END-LOOP))
(SETQ NUMBER (+ NUMBER 0.1))