No, the result should be '',  as described in exception 2 of https://code.jsoftware.com/wiki/Vocabulary/DirectDefinition#Nouns_defined_with_.7B.7B.29n .

I'll look into the bug.

Henry Rich

On 1/1/2022 1:58 PM, Raul Miller wrote:
In j903 release a

    {{y}}{{)n
}}
'y') ( 9 :

I expected the result here to be the result of ,LF

This is a simplified version of the problem I encountered here:

digits=:{{(b#|:y)<@|:/.~b#+/\-.b=.-.*/y=' '}} ];._2 {{)n
   aaaa   ....   aaaa   aaaa   ....   aaaa   aaaa   aaaa   aaaa   aaaa
  b    c .    c .    c .    c b    c b    . b    . .    c b    c b    c
  b    c .    c .    c .    c b    c b    . b    . .    c b    c b    c
   ....   ....   dddd   dddd   dddd   dddd   dddd   ....   dddd   dddd
  e    f .    f e    . .    f .    f .    f e    f .    f e    f .    f
  e    f .    f e    . .    f .    f .    f e    f .    f e    f .    f
   gggg   ....   gggg   gggg   ....   gggg   gggg   ....   gggg   gggg
}}

In other words when we put a nestable verb definition and text noun
block on the same line, the verb's definition (and everything after
it) gets merged into the text of the noun.

FYI,



--
This email has been checked for viruses by AVG.
https://www.avg.com

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

Reply via email to