Regarding ticket 88, I have the following idea:
Lisp functions inherit from either Primitive or CompiledClosure. CompiledClosure isn't used elsewhere, but Primitive is used everywhere in Java too.
How about creating an (empty) CompiledPrimitive which isn't used Java-side.
Then, with a simple 'instanceof' test, functions can be tested to have been compiled from Lisp or created from Java.
How about that?
Bye,
Erik.
armedbear-devel@common-lisp.net