[Jprogramming] Explicit-to-tacit query
Randy MacDonald
ramacd at nbnet.nb.ca
Fri Jul 14 23:20:29 HKT 2006
Hello Dan;
Ok, i. works on _items_... my APL bias is showing. Thanks.
------------------------------------------------------------------------
|\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram)
|/\| ramacd at nbnet.nb.ca |
|\ | |If you cannot describe what you are doing
BSc(Math) UNBF'83 þas a process, you don't know what you're doing.
Sapere Aude | - W. E. Deming
Natural Born APL'er | Demo website: http://156.34.95.92/
-----------------------------------------------------(INTP)----{ gnat }-
----- Original Message -----
From: "Dan Bron" <jf at dbron.net>
To: "Programming forum" <programming at jsoftware.com>
Sent: Friday, July 14, 2006 12:01 PM
Subject: Re: [Jprogramming] Explicit-to-tacit query
> Roger> If I were translating (,x) i. y I would have
> Roger> written ,@[ i. ] .
>
> Randy>Why not:
> Randy> ,i.]
>
> They're not the same thing:
>
> a =: , i. ]
> b =: ,@[ i. ]
>
> (i. 2 3) a i. 6
> 2
> (i. 2 3) b i. 6
> 0 1 2 3 4 5
>
>
> -Dan
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
More information about the Programming
mailing list