@pkw well the joke is that what makes something a lisp2 is that it has 6 namespaces
symbol-function symbol-value symbol-name symbol-package symbol-plist
and sixthly, the KEYWORD package is its own namespace in a similar way.
I became more cognizant of this when I started using plists, ie storing stuff in
(setf (get 'my-symbol :my-property) 'stored-value)
; this way I'm not tempted to try and use symbol-value basically as a plist.
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
screwlisp (screwtape@mastodon.sdf.org)'s status on Saturday, 02-Nov-2024 06:45:33 JSTscrewlisp