|
|
last edited 9 years ago by test1 |
1 2 3 4 5 6 | ||
Editor: kratt6
Time: 2008/09/01 12:05:02 GMT-7 |
||
Note: |
changed: - \begin{axiom} u:= [9,2,4,7]; concat! (u, [1,2,42]); end := rest(u,4); part:=rest(u,2); setrest!(end, part); \end{axiom} Asking for the number of elements of u will exhibit lisp-implementation-dependend behaviour, ranging from an error to an infinite loop. We should either fix the documentation (saying, that this is the case), or check for circularity. This could be done by calling 'INTEGER-LENGTH' in 'ILIST', for example.
u:= [9,2,4,7]; concat! (u, [1,2,42]); end := rest(u,4); part:=rest(u,2); setrest!(end, part);
Asking for the number of elements of u will exhibit lisp-implementation-dependend behaviour, ranging from an error to an infinite loop.
We should either fix the documentation (saying, that this is the case), or check for circularity. This could be done by calling INTEGER-LENGTH
in ILIST
, for example.