3:06:41Josh_2Am I allowed to change-class a slot with my metaclass? I'd like to have slots of different classes depending on some of the values of initargs
3:07:10Josh_2I tried change-class in compute-effective-slot-definition but thats a no go
3:08:12beachMaybe it's the fact that I haven't had my morning coffee yet, but I can't understand from what you said what it is that you are trying to do.
3:14:11Bikeokay, so in that case you don't really want to change the class of a slot definition - you just want the slot definition to have your class to begin with.
3:14:46Bikein which case you want direct-slot-definition-class and effective-slot-definition-class methods.
3:14:58Bikei don't remember how the initargs are canonicalized off the top of my head, but it might work
3:19:38Bikeif i remember correctly there may be a bit of a problem because there is some underspecification about what those initargs actually are, for an effective slot
14:27:26pjb(THE NIL (PROGN 'NIL)) is a nasal daemon!
14:27:37pjbBy the type, it should return no value.
14:28:38pjbJosh_2: is CLOS more complex than Smalltalk Meta Object System? (I'd say yes, but that's because multiple-inheritance, and methods attached to generic functions vs. classes).
14:29:07Josh_2I wouldn't know, I have only briefly played with Pharo
14:29:32Josh_2I wasn't complaining though, just trying to get some convo going
14:30:00pjbflip214: and even, while (the nil (values)) seems logical, there's no specification that no values returned by (values) is of type NIL! We just know that NIL is an empty type.
14:30:39pjbflip214: on the contrary, it's specified that (values) = NIL as soon as you need something.