[Openmcl-devel] Naming anonymous functions

Ron Garret ron at flownet.com
Sat Mar 1 20:31:52 UTC 2014


Thanks!

On Mar 1, 2014, at 12:11 PM, Gail Zacharias <gz at clozure.com> wrote:

> (ccl::lfun-name function &optional new-name)
> 
> On Mar 1, 2014, at 2:57 PM, Ron Garret <ron at flownet.com> wrote:
> 
>> Is there any way to give a name to an anonymous function after it has been created?  Looking at the objects produced by LAMBDA and CCL::NLAMBDA it appears the only difference between them is that anonymous functions have name of NIL, but as these are not standard-objects I can’t figure out how to change this value.  (I tried reverse-engineering the code that creates them in nx1.lisp but I got lost in a twisty little maze of S-expressions.)
>> 
>> (FYI, the reason I want to do this is to facilitate debugging an application that has a lot of anonymous functions floating around.)
>> 
>> Thanks,
>> rg
>> 
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> http://clozure.com/mailman/listinfo/openmcl-devel
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20140301/a81d9191/attachment.pgp>


More information about the Openmcl-devel mailing list