We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(let ((x (list :a 10 :b 20))) (setf (getf x :b) 0) x) ; => (:B 0) ;; should be: (:A 10 :B 0)
It seems to be caused by this line: https://github.com/jscl-project/jscl/blob/master/src/list.lisp#L482C1-L482C1
If I understand it correctly, it should be (return plist) instead.
(return plist)
The text was updated successfully, but these errors were encountered:
To be honest, the spec doesn't specify what setf of getf should return. The example shows it returning the value it set.
Sorry, something went wrong.
The problem is not in the return value of (SETF GETF) but in the side effect of discarding the property :A
(SETF GETF)
:A
Ah, sorry, overlooked that you returned the plist. Very well, proceed ^^.
Successfully merging a pull request may close this issue.
It seems to be caused by this line:
https://github.com/jscl-project/jscl/blob/master/src/list.lisp#L482C1-L482C1
If I understand it correctly, it should be
(return plist)
instead.The text was updated successfully, but these errors were encountered: