On 11/27/20, R.E. Boss <[email protected]> wrote:
>    [C=: A([,. ({:"1)@] #^:_1~ e.&:({."1))B
>
> e.&:({."1)    NB. Indicates in which places first elements from B occur in A
> #^:_1~                NB. Expand the elements from left according to the 
> Booleans from the
> right
> [,.           NB. Extend A with the result.

Thank you for explaining key sections of your tacit code!  My personal
programming needs don't require terseness--actually, those needs
require the opposite.  I reuse a lot of code that I've developed, and
creating explicit code with lots of commenting is my preferred way of
operating.  So, again, thank you very much for your explanations--they
really do help me understand what's going on in your solution!

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

Reply via email to