[Openmcl-devel] function-lambda-list

Stas Boukarev stassats at gmail.com
Mon Jul 9 18:05:41 PDT 2012


Stas Boukarev <stassats at gmail.com> writes:

> Burton Samograd <burton.samograd at gmail.com> writes:
>
>> Hello,
>>
>> Is there a variable that can be set to allow #'function-lambda-list to
>> return the source expression of compiled functions, or is storing the
>> source for functions not implemented at all in CCL?
>
> ? (defun add (x) (1+ x))
> ADD
> ? (ccl:decode-string-from-octets (ccl::source-note-source (ccl:function-source-note #'add)))
> "(defun add (x) (1+ x))"
> 22
Or better, (ccl:source-note-text (ccl:function-source-note #'add))
-- 
With best regards, Stas.



More information about the Openmcl-devel mailing list