Hello,

It seems odd that the presence of 'n' in a local binding leads 'f1' to
parse as a conjunction unless forced by a control character, tough it
is consistent with explicit definitions from '9 :':

   f1 =: {{ n =. y }}
   f2 =: {{ z =. y }}
   f3 =: {{)*
n =. y }}
   f4 =: {{)m
n =. y }}
   f5 =: 9 : 'n =. y'

   f1 0 1
(f1)0 1
   f2 0 1
0 1
   f3 0 1
(f3)0 1
   f4 0 1
0 1
   f5 0 1
(f5)0 1

   f1
2 : 'n =. y '
   f2
3 : 'z =. y '
   f3
2 : 'n =. y '
   f4
3 : 'n =. y '
   f5
2 : 'n =. y'

Is this the behavior I should have expected?

PS. I think DD is a welcome and ergonomic addition to J!
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to