Re: troll's food (python vs lisp)
From: Rob Warnock (rpw3_at_rpw3.org)
Date: 09/15/04
- Next message: Pascal Bourguignon: "Re: easily embedding html into Lisp"
- Previous message: Rob Warnock: "Re: easily embedding html into Lisp"
- In reply to: Robert Strandh: "Re: troll's food (python vs lisp)"
- Next in thread: Thomas A. Russ: "Re: troll's food (python vs lisp)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Sep 2004 06:35:23 -0500
Robert Strandh <strandh@labri.fr> wrote:
+---------------
| Duane Rettig <duane@franz.com> writes:
| > What's wrong with just saying (the fixnum (1+ x)) ? That doesn't
| > seem like very much convincing to me...
|
| I do not know how to do that in loop.
+---------------
CMUCL seems to generate fairly good code for either of these:
(loop for i fixnum from 0 below 1000
do (foo i))
(loop for i fixnum = 0 then (the fixnum (1+ i))
while (< i 1000)
do (foo i))
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607
- Next message: Pascal Bourguignon: "Re: easily embedding html into Lisp"
- Previous message: Rob Warnock: "Re: easily embedding html into Lisp"
- In reply to: Robert Strandh: "Re: troll's food (python vs lisp)"
- Next in thread: Thomas A. Russ: "Re: troll's food (python vs lisp)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]