I'm wondering if any Common Lisp programmers know any way to "wrap" a value in a...
nytpu the wyvern @nytpu@tilde.zone
I'm wondering if any Common Lisp programmers know any way to "wrap" a value in another object, in such a way that normal usage of that object resolves to the inner value, unless you do something special to get at the attached values in the wrapper. I want a solution to the following two problems: "boxing" an atom/primitive to allow modifying it when passed; and transparently attaching a few additional metadata fields to arbitrary values. Really, I want something like Deref in Rust