freenode/#sicl - IRC Chatlog
Search
8:43:06
beach
First, up until now, I haven't really needed a reasonable implementation of TYPEP, but when I start filling up E5 with SICL-specific functions to replace ones that were imported from the host in previous phases, then TYPEP becomes necessary, simply because I often call it in those functions.
8:43:08
beach
Second, I have put off writing TYPEP because it seemed messy to me, but I think I finally understood how to write it.
8:45:16
splittist
After phoe's conditions book perhaps someone will write The Common Lisp Type Lattice...
9:08:54
beach
That sounds interesting. I guess org-mode is just what you need in order to hide stuff you don't always want to see.
9:18:09
ralt
splittist: use <s tab to generate code snippets + C-c ' to edit them in the correct mode. I've been using this for my Emacs config, it's pretty fun.
14:11:57
Bike
update on change-class atomicity: my code doesn't handle class slots correctly. doing so correctly and thread safely may be kind of involved
14:13:00
Bike
change-class has to handle slots that are class-allocated in the instance but will be instance-allocated with the new class.
14:13:56
Bike
in clasp the storage is that the slot-definition-location is a cons, and the value of the slot is stored in the car
14:14:43
Bike
since the info is in the rack and slot definitions are immutable and so on, there shouldn't be any additional thread safety concerns
14:15:12
Bike
does mean my earlier plan to store only instance-allocated slotds in the rack is a bust, but that's not important
14:15:49
beach
Right. Some code that uses that information to determine instance size, may have to be adapted.