remove error checking

This commit is contained in:
~keith 2022-02-22 06:00:46 +00:00
parent 65fb98c8c4
commit 914d5dfcdc
Signed by: keith
GPG key ID: 5BEBEEAB2C73D520

View file

@ -16,9 +16,7 @@
for form = (car entry)
do (setf expr
(cond ((consp form) `(,(car form) ,expr ,@(cdr form)))
((eq form :slot) (prog2
(unless (cadr entry)
(error "Unexpected end of list (expected slot name)"))
((eq form :slot) (prog1
`(slot-value ,expr ',(cadr entry))
(rplacd entry (cddr entry))))
((symbolp form) `(,form ,expr))