mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 15:22:03 -08:00
Remove two more uses of (truly-the cons)
This commit is contained in:
parent
331b892d34
commit
2e77344a54
1 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ INDEXes must be equal to the rank of ARRAY."
|
|||
(do* ((r (array-rank array))
|
||||
(i 0 (1+ i))
|
||||
(j 0)
|
||||
(s indices (cdr (truly-the cons s))))
|
||||
(s indices (cons-cdr s)))
|
||||
((null s)
|
||||
(when (< i r)
|
||||
(indexing-error array indices))
|
||||
|
|
@ -144,7 +144,7 @@ INDEXes must be equal to the rank of ARRAY."
|
|||
(declare (ext:array-index j)
|
||||
(fixnum i r))
|
||||
(let* ((d (array-dimension array i))
|
||||
(o (car (truly-the cons s)))
|
||||
(o (cons-car s))
|
||||
ndx)
|
||||
(declare (ext:array-index ndx))
|
||||
(unless (and (typep o 'fixnum)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue