ruricolist / serapeum

Utilities beyond Alexandria
MIT License
428 stars 42 forks source link

DEQ incorrectly described in doc string of QUEUE #157

Closed Gleefre closed 1 year ago

Gleefre commented 1 year ago

From doc string of serapeum:queue:

CL-USER> (describe 'serapeum:queue)
;; <lines omitted>
    Remove an item with `deq':

        (deq (queue 1 2 3)) => 3
;; <lines omitted>

However, the correct result would be 1, not 3:

CL-USER> (serapeum:deq (serapeum:queue 1 2 3))
; => 1
ruricolist commented 1 year ago

Fixed, thanks!