mop
Strange class precedence list in sbcl
In sbcl, *(sb-mop:class-precedence-list (find-class \'cons)) ==>(#<BUILT-IN-CLASS CONS> #<BUILT-IN-CLASS LIST> #<BUILT-IN-CLASS SEQUENCE>[详细]
2023-03-08 07:26 分类:问答lisp: How to create temporary method specialization within a scope
In Common lisp: Redefine an existing function within a scope? the OP asked for something similar. But I want to create a method specializer, not a function.[详细]
2023-03-01 05:11 分类:问答Unit tests in Groovy for Java code - how to mock java classes?
I\'m introducing Groovy in a large project written in Java, starting (as most of guys do) with writing unit test in Groovy for Java classes.[详细]
2023-02-15 17:26 分类:问答Does Ruby have a Metaobject protocol and if not, is it possible to implement one?
Pardon my ignorance, but What is a Metaobject protocol, and does Ruby have one? If not, is it possible to implement one 开发者_如何学Pythonfor Ruby? What features might a Metaobject protocol possess i[详细]
2023-01-22 23:52 分类:问答Groovy methodMissing
I have a closure within an object Foo and inside the closure i define a method called \'myStaticMethod\' that I want to resolve once the closure is called outside the object Foo.I also happen to have[详细]
2023-01-14 11:26 分类:问答Test if a class is a subclass of another class in common lisp
How do I se开发者_运维问答e if one CLOS class is a subclass of another CLOS class?You can get the CLASS-NAME of a class.[详细]
2023-01-02 10:01 分类:问答Problem with mixins in a MooseX::NonMoose class
Consider the following: package MyApp::CGI; use Moose; use MooseX::NonMoose; use Data::Dumper; extends \'CGI::Application\';[详细]
2022-12-10 03:12 分类:问答