News for hackers. Stuff that matters.
Re:Is it possible to write c...r in lisp, for any combinatio... by dfox on Sunday October 11, 2009 @05:56AM (#874589)
All reasonably effective ways of doing this involve hacking ugly special case into compiler and evaluator. But as purely academic exercise this can be done (for common lisp) by handling undefined-function condition and invoking appropriate restart (which is unfortunately implementation-specific).
Re:Is it possible to write c...r in lisp, for any combinatio... by mahmud on Sunday October 11, 2009 @06:15AM (#874601)
Why? I already wrote the stub code for this in another reply. He just needs a define-deconstructor macro. Any C[A|D]+R function that isn't already defined by CL can be defined as a macro.

[Edit:

I see that he said any call .. well, he will have to define the function before hand before he calls it. That's just common sense.

Apologies dfox.]