[elephant-devel] Question about MOP
Ian Eslick
eslick at csail.mit.edu
Fri Mar 30 17:22:10 UTC 2007
Is there a way to implement class keyword arguments in a metaclass?
ensure-class-using-class will fail if it gets a keyword argument it
doesn't recognize, but :around methods on that function for the class
argument (eql nil) flags warnings or errors. Since the MOP doesn't
know the class at the function call time, you can specialize
the :around method on the net metaclass (although you need to do that
for a re-evaluation of a defined class). Is there another point in
the MOP where you can intervene or register a keyword argument so
ensure-class-using-class doesn't fail?
Thank you,
Ian
More information about the elephant-devel
mailing list