Hi,
I've been looking for something simular. How does CMUCL know when to and when not to save the function lambda expression? Is this something I can set somewhere? In my code, users *will* hand me functions to be used for various things and I'd like to be able to pull them back out when debugging :) Thanks! Jim On Wed, 23 Jun 2004, Marcin Tustin wrote: > > On Wed, 23 Jun 2004, Oleg A. Paraschenko wrote: > > > > > Hello, > > > > I'm searching for a way to "partially decompile" a function. I mean, > > having a compiled function, get its source code with all macros expanded. > > Or, saying another way, apply 'macroexpand' to a compiled function. > > > > All suggestions are welcome. > > (function-lambda-expression function) will return you the > s-expression for the function text, unless it returns you nil. Returning > nill from this function is always allowed. > > If the result is non-nil, you can call macroexpand upon it > yourself. > > -- James E. Prewett "everything that is, that was, was not enough" Systems Team Leader 505.277.8210 Designated Security Officer [EMAIL PROTECTED] [EMAIL PROTECTED] HPC Systems Engineer III @ [EMAIL PROTECTED] OpenPGP key: pub 1024D/31816D93
