Don Guinn asked:
>  What do you do if a local name is mapped to a file?

Because nouns yield their value immediately (ie. when encountered in a sentence 
by the parser), there's no such thing as a "bound pronoun", and so mapped or 
not, (pro)-nouns are irrelevant to  f.  (which is sometimes a nuisance, as in  
name0`[email protected]  f.  ).

Put another way, given  MYNOUN=:1 2 3  then with  myVerb =: MYNOUN */ ]  the 
name MYNOUN appears nowhere in the value of myVerb (but its value does).  This 
is true whether MYNOUN is mapped or not (but if MYNOUN were mapped and its 
value changed, so would the value of myVerb).  So  myVerb f.  is no different 
from myVerb itself.

But the your question leads to the general concern of tracking references to 
mapped nouns.  I have some (separate) utilities for that & related purpose.  
See the announcement:

      http://www.jsoftware.com/pipermail/programming/2007-April/006144.html  

and the code:  

      http://www.jsoftware.com/svn/DanBron/trunk/general/unmaphard.ijs 

Unfortunately, this code too is dependent upon 15!:6 and so is currently broken.

-Dan

PS:  I hate losing tools, even if it's my own fault for consciously relying 
upon the unreliable.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to