Commit Graph

3 Commits

Author SHA1 Message Date
efim 4cfca2c9c3 koans - clos and advice
objects similar to structures, but can have "generic" setters and creators
generic methods can have methods with qualifier :before :after :around
that in a way I don't fully understand registers them to be launched
with original function?
2022-08-06 09:00:44 +00:00
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
efim 49c00c24ee pulled in lisp koans for solving
https://github.com/google/lisp-koans
2022-07-24 12:18:03 +00:00