I found out that my package has a problem shadowing delete from the common-lisp package. I have tried various types of shadowing, but none of them worked for me. I guess I'm using it wrong, but still can't make it to work.
I have shortened the code just to show the problem part
This solution throws error: Redefining macro DELETE visible from package COMMON-LISP.
(in-package "CL-USER")
(defpackage :simple-db
(:use :common-lisp)
(:shadow :delete)
(:export :delete))
Another solution throws error: Duplicated symbols in "SIMPLE-DB" defpackage: "DELETE".
(in-package "CL-USER")
(defpackage :simple-db
(:use :common-lisp)
(:shadow :delete)
(:export :delete)
(:shadowing-import-from :simple-db :delete))
I don't see a problem: