[EMAIL PROTECTED] doesn't sound right to me. {.x E. y is 1 iff x is a prefix
of y, and for that computation x -: (#x){.y is much more efficient.
Perhaps Raul meant to say something like (E.i.1:), the index
of the first occurrence. This latter phrase happens to be
supported by special code.
----- Original Message -----
From: Markus Schmidt-Gröttrup <[EMAIL PROTECTED]>
Date: Thursday, August 7, 2008 11:48
Subject: Re: [Jprogramming] Avoiding explicit loops
To: Programming forum <[email protected]>
> Thank you, Raul, for this astonishing piece of code.
> After studying it becomes quite understandable and easy, great!
>
> A question to
>
> [EMAIL PROTECTED]"1
>
> the toss piece is searched through the whole text
> and than only the first result is extracted.
> Does the interpreter restrict the search to only the starting
> position?
> Markus
>
>
> Raul Miller schrieb:
> > On Wed, Aug 6, 2008 at 2:00 PM, Markus Schmidt-Gröttrup
> > <[EMAIL PROTECTED]> wrote:
> >
> >> Thanks for hints, Markus
> >>
> >
> > toss (] #~ [: *./@:-.@:> [EMAIL PROTECTED]"1 L:0) mat
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm