search for: macrolet

Displaying 1 result from an estimated 1 matches for "macrolet".

Did you mean: macro'ed
2005 May 21
2
Possible (ab)use of lexical scoping in R ?
......))) Now (barring syntax errors I may have slipped in the above pseudo-example (my Lisp is rusty)), foo and quux are known in the main environment, can both call bar and gee, which are not visible. Lisp also allows me to do a similar thing for "data" (with let()) and even macroes (with macrolet()). Variants such as let*() allow, IIRC, to play tricks with evaluation order (e. g. mutually calling "local" functions). I am aware that one may achieve the same thing in R by creating a package with its own namespace and exporting relevant items.However, in my case, that would be tryin...