Thankyou for the responses.
The issue with / cropped up in a program fragment such as:
      res =.  combine / series_collection
'combine' returns a value but also produces side effects within files.
Whenever 'series_collection' was a one item array not much happened.

To demonstrate the current behaviour using the equivalence
     u/y ↔ (u/k{.y) u (u/k}.y)
consider the following:
   u =. 4 : ' x ; y'
   y =. i.2 3
   u/y
+-----+-----+
|0 1 2|3 4 5|
+-----+-----+

It is hard to imagine a different result for the expression:
    (u/1{.y) u (u/1}.y)
+-----+-----+
|0 1 2|3 4 5|
+-----+-----+
thus leading to the conclusion that u/1{.y ↔ 0{y.

Perhaps the equivalence u/1{.y ↔ 0{y for non-empty y could be added to the
Vocabulary entry.

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

Reply via email to