Why Nostr? What is Njump?
2024-07-02 10:31:21

Colin on Nostr: #commonlisp Equality (defstruct foo a) (defparameter *a* (make-foo :a 1)) ...

#commonlisp Equality

(defstruct foo
a)

(defparameter *a* (make-foo :a 1))
(defparameter *b* (make-foo :a 1))

(eq *a* *b*) ;; NIL
(eql *a* *b*) ;; NIL
(equal *a* *b*) ;; NIL
(equalp *a* *b*) ;; T
Author Public Key
npub126fvxt60z0ztelstasxykk4epyr9tv8evmjwkcnxpukatx8trstsuhjuh4