Changeset 248


Ignore:
Timestamp:
Jan 9, 2004, 1:36:05 PM (21 years ago)
Author:
Gary Byers
Message:

Another typo in BUTLAST.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lib/lists.lisp

    r245 r248  
    170170             (head (cons nil nil))
    171171             (tail head))
    172         (declare (fixnum count) (list head tail) (dynamic-extent head))
     172        (declare (fixnum count) (cons head tail) (dynamic-extent head))
    173173        ;; Return a list of the first COUNT elements of list
    174174        (dotimes (i count (cdr head))
    175           (setq tail (rplacd tail (cons (pop list) nil))))))))
     175          (setq tail (cdr (rplacd tail (cons (pop list) nil)))))))))
    176176
    177177
Note: See TracChangeset for help on using the changeset viewer.