Files
common-lisp-study/lisp-koans/koans/clos.lisp
efim b7bccb9cfb koans on types and clos
- types are complicated, not sure how to look up documentation for it
would they show up in apropos all?
- list formatted types - like array vector can specify type of element,
rank / dimentions
(not sure there's variancy over the element type?)
- clos - similar to structure
for structured you get separate functions to get slots, use setf to set
generalized variables
with classes, I can use generic function to create #'make-instance
and access slots with (#'slot-value instance 'slot-name)
but there could be defined accessor, reader, writer,
and :initarg to name slot to have handle to set value in constructor

now that's a lot
2022-08-03 20:43:31 +00:00

7.7 KiB