Is there a way to get the number of the function

Discussion of Common Lisp
Post Reply
zh041
Posts: 1
Joined: Wed Feb 02, 2011 12:37 pm

Is there a way to get the number of the function

Post by zh041 » Wed Feb 02, 2011 12:48 pm

Is there a function to make me get the number of the function,which is define by me or not?

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: Is there a way to get the number of the function

Post by nuntius » Wed Feb 02, 2011 2:07 pm

Probably. What is it you want to do?

You could use the function itself as a key in a hash table, put a number in the function symbol's plist, specialize a generic function on the function, ...

Post Reply