libera/#commonlisp - IRC Chatlog
Search
14:25:25
Josh_2
The MOP is a very good example of the divide between MIT and New Jersey, its pretty complicated but can create a very simple interface
14:28:38
pjb
Josh_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:30:00
pjb
flip214: 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:39
pjb
flip214: on the contrary, it's specified that (values) = NIL as soon as you need something.
20:16:30
Josh_2
Can I make all instances of a metaclass funcallable without using initialize-instance?
20:19:30
Bike
or do you want these classes to have funcallable-standard-object as their default superclass instead of standard-object like usual?
20:20:15
Josh_2
I've made instances of a class funcallable and tried it, but I'd like the setting of the funcallable function to be done when the class is defined rather than when and instance of that class is initialized
20:22:22
Bike
could you like, provide some context, maybe? i don't understand what you're doing. why would you want to call a class?
20:22:50
Josh_2
I want the funcall function to be set when the class is defined not when an instance is made
20:23:47
Bike
it sounds like maybe you want a default function but i still don't understand what you're doing. what's the problem with doing it in initialize-instance?
20:32:58
saturn2
according to this, there is no other way to set the funcallable-instance-function than calling set-funcallable-instance-function on each instance