I agree that the definition is incomplete. If y has only one item, the result of u/ y is that item, for any u.
It makes sense as (Item -#y) u ... u (Item _2) u (Item _1) where if there is no item _2, the sequence ends with item _1. Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of david alis > Sent: Saturday, September 08, 2007 7:55 AM > To: Programming forum > Subject: [Jprogramming] vocabulary question concerning / (insert) > > I recently tripped over the behaviour of / when applying it > to a one item > argument. > I consulted the vocabulary which prompts me to ask: > > Does the entry for / (insert) > > http://www.jsoftware.com/help/dictionary/d420.htm > > describe the behaviour of u/y when y has one item? > > > Example (using the constant function 0: ) > ($;#) 0:/i.1 3 4 5 NB. one item, which seems unexplained > +-----+-+ > |3 4 5|3| > +-----+-+ > ($;#) 0:/i.2 3 4 5 NB. two items produce the result described > ++-+ > ||1| > ++-+ > > > Regards > David > j601/2006-11-17/17:05 J64 > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
