Is there some reason that doesn't fit? (Probably because it would use the master namespace, now that I think about it.)
Exactly for this reason. BTW, I like your suggestion using do. Clearer than my eval and, maybe, also clearer than messing around with __ANON__.
In reply to Re^2: Defining a function in the caller's package
by rovf
in thread Defining a function in the caller's package
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |