Well, if you know rank, the only thing about @ you should realize is u@v b.0 mv lv rv
(from http://www.jsoftware.com/help/dictionary/d620.htm) So it is still unclear to me why rank belongs to Simple J and @ does not. Apart from that, I don't like the concept of Simple J and think it's superfluous. We don't adjust a violin because so few people are good violists, do we? J has a steep learning curve, a challenge I liked very much, and (perhaps) that selects the right people ('many are called but few are chosen') R.E. Boss > -----Oorspronkelijk bericht----- > Van: programming-boun...@jsoftware.com [mailto:programming- > boun...@jsoftware.com] Namens Aai > Verzonden: woensdag 30 november 2011 11:00 > Aan: Programming forum > Onderwerp: Re: [Jprogramming] FW: A simple function > > R.E., perhaps your example does not belong to simple J, because you have to > know > about the effect of rank if you use @ . > > (i.2 1) <@:|: i.2 3 > > (i.2 1) <@|: i.2 3 > > > > Hallo R.E. Boss, je schreef op 30-11-11 10:47: > > Well, if rank belongs to Simple J, what does not? > > > > I'm well aware of stating a primitive in terms of other primitives, as Bron > collected in http://www.jsoftware.com/jwiki/PrimitivePrimitives. > > > > > > R.E. Boss > > > > > >> -----Oorspronkelijk bericht----- > >> Van: programming-boun...@jsoftware.com [mailto:programming- > >> boun...@jsoftware.com] Namens Aai > >> Verzonden: woensdag 30 november 2011 9:02 > >> Aan: Programming forum > >> Onderwerp: Re: [Jprogramming] FW: A simple function > >> > >> > >>> IMO the role of @ is essential and by removing it you amputate J. > >>> How would you form trains equivalent to > >>> > >>> (i.2 1)<@|: i.2 3 > >>> +---+-----+ > >>> |0 3|0 1 2| > >>> |1 4|3 4 5| > >>> |2 5| | > >>> +---+-----+ > >> By using rank? > >> > >> <@|: b. 0 > >> _ 1 _ > >> > >> (i.2 1) ([:< |:)"1 _ i.2 3 > >> ┌───┬─────┐ > >> │0 3│0 1 2│ > >> │1 4│3 4 5│ > >> │2 5│ │ > >> └───┴─────┘ > >> > >> -- > >> Met vriendelijke groet, > >> @@i=Arie Groeneveld > >> > >> ---------------------------------------------------------------------- > >> For information about J forums see > http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see > http://www.jsoftware.com/forums.htm > > -- > Met vriendelijke groet, > @@i=Arie Groeneveld > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm