Changeset 248
- Timestamp:
- Jan 9, 2004, 1:36:05 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lib/lists.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lib/lists.lisp
r245 r248 170 170 (head (cons nil nil)) 171 171 (tail head)) 172 (declare (fixnum count) ( listhead tail) (dynamic-extent head))172 (declare (fixnum count) (cons head tail) (dynamic-extent head)) 173 173 ;; Return a list of the first COUNT elements of list 174 174 (dotimes (i count (cdr head)) 175 (setq tail ( rplacd tail (cons (pop list) nil))))))))175 (setq tail (cdr (rplacd tail (cons (pop list) nil))))))))) 176 176 177 177
Note:
See TracChangeset
for help on using the changeset viewer.
