From: Robert Larice <Robert.L<arice@t...>  20140125 14:58:36

Christophe Rhodes <csr21@...> writes: > larice <robert.larice@...> writes: > >> on debian wheezy, with >> This is SBCL 1.0.57.0.debian >> >> (loop >> repeat 3 >> for r from 0 by 0 >> collect r) >> >> yields condition: > > The standard specifies that the value of the "by" in forasarithmetic > clauses must be a positive number; 0 is not a positive number. See CLHS > section 6.1.2.1.1. That's quite a surprise to me, I deeply thought about 'by' being a (incf var something) that I'm utterly surprised now. Thank You very much for your correction, Robert >> 0, >> not a >> (OR (SINGLEFLOAT (0.0)) (DOUBLEFLOAT (0.0d0)) >> (RATIONAL (0))). > > Positive numbers are singlefloats strictly greater than 0.0, > doublefloats strictly greater than 0.0d0, and rational numbers strictly > greater than 0. > > Cheers, > > Christophe 