Why not define I. as (4 {. {.), which seems quite adequate to me, although it 
was called "truly horrifying" by Stone 
http://www.jsoftware.com/pipermail/programming/2021-October/059190.html ?

Your advise wrt #. and #: is perhaps easier to remember than Base and Antibase.

R.E. Boss


-----Original Message-----
From: Programming <[email protected]> On Behalf Of Henry 
Rich
Sent: woensdag 27 oktober 2021 10:41
To: Programming forum <[email protected]>
Subject: Re: [Jprogramming] Where, oh where have my indices...

RE: #:, with multiple dots, creates a list.  #. creates an atom.

Isn't I. defined as (# i.@#)"1?  If you want a different rank you could specify 
one.  But can you give an example where you would do that?

Henry Rich

On Wed, Oct 27, 2021, 8:33 AM R.E. Boss <[email protected]> wrote:

> I could not agree more.
> Now I have to remember the ranks of the verbs I use, which I cannot.
> (I even have to look up always some definitions, e.g. the difference 
> between #: and #. , perhaps I should use the mnemonics, like Alex 
> Rufon did, together with f. )
>
>
> R.E. Boss
>
>
>
> -----Original Message-----
> From: Programming <[email protected]> On Behalf 
> Of Elijah Stone
> Sent: woensdag 27 oktober 2021 05:33
> To: [email protected]
> Subject: Re: [Jprogramming] Where, oh where have my indices...
>
> I think that primitives should try to handle as highly-ranked an array 
> they can.  I find it much more simple and regular to explicitly lower 
> the rank of a verb than to recreate the high-rank version of the 
> algorithm myself.
>
> (...)
>
>   -E
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to