[Bese-devel] Bug in UCW Examples: Add some numbers?

Larry D'Anna smoof-ra at elder-gods.org
Sun Aug 28 04:00:09 UTC 2005


* Marco Baringer (mb at bese.it) [050827 06:59]:
> (loop
>   repeat 5
>   do (call 'foo-bar))

If we had ucw:loop that translated this into 

(labels ((theloop (n)
                  (when (> n 0)
                    (call 'foo-bar)
                    (theloop (1- n)))))
  (theloop 5)))

everything would work great.


          --larry 



More information about the bese-devel mailing list