The introduction of direct definition inspired me to revisit some
older code that I had abandoned, but in cleaning up that code, I
believe I have run into a name resolution issue which seems to be
handled wrong.

To illustrate:

example2=:1 :0
  expl=. :
  expl
)

   1 example2 3
expl 3

Normally, in J, names which represent verbs may be looked up later,
but names which represent nouns, adverbs and conjunctions are looked
up immediately.

Here,  if I use a different definition, we can see that this character
holds for nouns

example3=:1 :0
  expl=. 3
  expl
)
   1 example3
3

But, honestly, in adverb and conjunction results, I cannot think of
any good reason for a locally defined name to not be resolved.

(This is not a new issue. It's just something I stumbled over, testing
the new features.)

Thanks,

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

Reply via email to