[CM] range

Johannes Quint johannes.quint at web.de
Wed Feb 15 23:58:16 PST 2006


rick,
i dont understand the behaviour of 'range' when i write the following:

(setf x (new range :from 60 :stepping (new heap :of '(1 -1 1 -1  
1)) :for 6))

as result of

(next x t)

i would expect a list which always contains 61 at the end, but i get

=> (60 61 60 61 60 59)

as well as

=> (60 59 58 59 60 61)

etc.
what is going wrong?
thanks - johannes.

_________________________

Johannes Quint
Rilkestr.55
D-53225 Bonn
0228 468256
johannes.quint at web.de
http://www.johannes-quint.de


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20060216/99c3a21c/attachment.html>


More information about the Cmdist mailing list