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

Reply via email to