If so, that looks like a conflict with the dictionary: http://www.jsoftware.com/help/dictionary/dicti.htm says:
The name f_abc_ is executed in locale abc in the sense that a global name referenced in f is sought therein and, if not found, is then sought in the locales in the path of abc (but is still executed in abc). That said, this is not what is currently implemented. adv_example_=:1 :'18!:5 i.0[u y' ] adv_example_ '' ┌────┐ │base│ └────┘ (Perhaps as a consequence of some confusion about a discussion involving adverbs which do not reference the y argument. In that case, you can return an anonymous verb which would be evaluated in the original context.) Anyways, this looks like it needs fixing. -- Raul On Fri, Mar 31, 2017 at 12:08 AM, Xiao-Yong Jin <jinxiaoy...@gmail.com> wrote: > Does locale change only happens with verbs? > > v_t_=:3 :'vv y' > vv_t_=:3 :'+: y' > v_t_ 3 > 6 > a_t_=:1 :'u aa y' > aa_t_=:1 :'u y' > +: a_t_ 3 > |value error: aa > | u aa y > c_t_=:2 :'u cc v y' > cc_t_=:2 :'u v y' > +: c_t_ *: 3 > |value error: cc > | u cc v y > > This seems to be very inconvenient. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm