l=: 'test 1';'test 2'
r=: ('FL';'GA');(<'AL';'LA';'TN')
R=. 5 2 $ 'test 1';'FL';'test 1';'GA';'test 2';'AL';'test 2';'LA';'test 2';'TN'
What verb joins l and r to make R?
({.l),.> {. r works for the first element of each array, but I haven't
figured out how to generalize it.
l ,."0 1 >"1 r
comes close, but "each' seems called for to avoid padding, and I haven't
figured out something that works.
Note to self: don't go months without programming in J and then expect
it to still be in one's head.
Bill
--
Bill Harris
Facilitated Systems
http://makingsense.facilitatedsystems.com/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm