Puzzle: Find the Noun below that returns a as shown.

   (0;0) {:: ,<'ab'
a
   
   Noun {:: <'ab'
a 


A direct rephrasing---I'd like to see the simple demonstration that
{:: a:  must be a boxed raveled ace.

My concept of fetch operation: index to next box, open, repeat.
Possibly my scheme doesn't permit a scalar box?  Raul showed that
$>{::a: is 1, in other words, the innermost box has rank 1.  On the
other hand, 0{7 is 7 , not an error whereas in APL (irrelevant) with
index origin zero  7[0]  is rank error by my recollection.  I haven't
found Noun to fetch the 'a' from the scalar box holding 'ab'.


> But the key thing is: the paths returned by {::
> only navigate boxes, they do not concern
> themselves with the content of those boxes.
> 
>    ({:: 1 2 3;4 5 6) -: {:: 1;''
> 1
> 
....
> 
> If I have mis-understood your question, please let me know.
> 
> -- 
> Raul
> 


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to