the verb would need to apply to L;P
(in my current implementation since
that’s what the mentioned iteration
spits out)
I don’t understand why the boxed pairs
are boxed again in your last solution
but I guess I’ll figure that one out
I never learned ::, that might be the reason
maybe I should have a look at it now
I’ll at least try understanding your
last variant (I’m still under 8.07).
thanks
Am 30.05.20 um 20:45 schrieb Raul Miller:
Hmm..
In the current J902 release, if your 50 element list was unboxed in L
and your pairs were boxes in P, you could do
;C.&.(a:`>) ::]/|. L;P
or
L ] F..(C. ::]) P
(Caution: lately I've been getting spelling errors, copying and
pasting from email into a J session -- this is because when I've got
more than one adjacent space, some of them come through as 192 160{a.
instead of as 32 {a.)
In earlier versions of J, I guess I'd do that this way:
;C.&.> ::]/|. L;<"0 P
I hope this helps,
--
----------------------
mail written using NEO
neo-layout.org
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm