« first day (2484 days earlier)      last day (187 days later) » 

4:28 PM
I just learned that given two namespace objects called ns1 and ns2 one can evaluate the expression ns1∘←ns2 to import stuff defined in ns2 into ns1. How does this work? e.g. what type of assignment statement doesns1∘←ns2 designate?
 
 
4 hours later…
8:42 PM
@11Kilobytes It's a kluge to assign to a global variable in a dfn. It is not importing anything from one namespace to another. It is simply overwriting the name ns1 with a pointer to ns2.
 
 
1 hour later…
10:01 PM
@11Kilobytes I'll add to what @PaulMansour wrote that if you actually want to overwrite the global ns1 with a pointer to ns2 then you should write ⎕THIS.ns1←ns2. However, if you actually want to import the contents of ns2 into ns1 the correct way is 'ns1'⎕NS ns2
 

« first day (2484 days earlier)      last day (187 days later) »