[Openmcl-devel] function-lambda-list

Burton Samograd burton.samograd at gmail.com
Mon Jul 9 18:18:05 PDT 2012

On 12-07-09 07:09 PM, Stas Boukarev wrote:
> 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.

Sorry for my ignorance, but why would I have to do that?  From my tests it looks
like CCL always compiles defun's by default.  Am I wrong with this assumption?

Burton Samograd

More information about the Openmcl-devel mailing list