[Openmcl-devel] Naming anonymous functions

Ron Garret ron at flownet.com
Sat Mar 1 11:57:17 PST 2014


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

-------------- 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: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20140301/6e25bd99/attachment.bin>


More information about the Openmcl-devel mailing list