[Openmcl-devel] function-lambda-list

Stas Boukarev stassats at gmail.com
Tue Jul 10 01:09:48 UTC 2012


Burton Samograd <burton.samograd at gmail.com> writes:

> On 12-07-09 07:02 PM, Stas Boukarev wrote:
>> (ccl:decode-string-from-octets (ccl::source-note-source (ccl:function-source-note #'add)))
>
> Oddly, it works when I run CCL from the command line, but not when I
> run from within SLIME:
>
> CL-USER> (defun add (x) (1+ x))
> ADD
> CL-USER> (ccl:decode-string-from-octets (ccl::source-note-source
> (ccl:function-source-note #'add)))
> ; Evaluation aborted on #<TYPE-ERROR #x30200278979D>.
> CL-USER> (ccl:decode-string-from-octets (ccl::source-note-source
> (ccl:function-source-note #'add)))
> ; Evaluation aborted on #<TYPE-ERROR #x30200284D12D>.
> CL-USER> (ccl:function-source-note #'add)
> NIL
> CL-USER> (ccl:function-source-note 'add)
Well, you should just compile the function in slime with C-c C-c.


-- 
With best regards, Stas.



More information about the Openmcl-devel mailing list