Skip to content
Prev 389192 / 398506 Next

Evaluating lazily 'f<-' ?

Hello Andrew,
On 9/15/2021 6:53 AM, Andrew Simmons wrote:
This is my question:

Would there be any negative impact if the code is changed to:

x <- 'names<-'(x, value=...);

The "x" will be evaluated inside 'names<-' and this function outputs & 
assigns "x". The "creation" of "x" in the current environment is done 
only after the call to 'names<-' (if it did not exist before).


Leonard