Jeremy Smith jeremy@decompiler.org writes:
I have 2 questions, one specific to Python.
*How do I create a callback with a gynsym'd symbol, which actually refers to a lambda expression and not a defun'd function? The %callback thing seems hard-wired to specifically naming it with a symbol, and creating a global scope for it, which is okay as long as I can create non-clashing lambda's.
I'm not sure what you want here. You can write a macro that expands into a defcallback with a name created by gensym.
(defmacro foo (....) `(defcallback ,(gensym) (...) ...))
What exactly do you want to do?
*The Python specific one is: Given a function which takes the following definition:
Did you forget to actually ask the question? I couldn't understand what the question was.