Skip to content

Commit

Permalink
Fix (SETF GETF)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gleefre authored and davazp committed Jul 31, 2023
1 parent 1d77d15 commit c03d583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/list.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@
(when (eq indicator car)
;; TODO: should be cadr, needs a defsetf for that
(setf (car (cdr tail)) new-value)
(return tail))))
(return plist))))

(define-setf-expander getf (plist indicator &optional default)
(multiple-value-bind (dummies vals newval setter getter)
Expand Down

0 comments on commit c03d583

Please sign in to comment.