On Wed, Aug 5, 2015 at 9:47 PM, Cedric St-Jean <
cedric...@gmail.com> wrote:
> Yichao Yu: How would you retrieve the counter's value? How would you
> distinguish between the counter in function foo vs. the one in function bar?
I'm not sure what do you need the function name for. The code I post
(which has some issue about quoting for `isdefined` btw) is mainly for
having a unique counter for each function in case that's the only
thing you need the function name for. Also note that the function name
is not a good way to garentee uniqueness since it can have multiple
methods and specializations etc.