I have a list (l), some object (o) and a verb (v) modifying the object: l = l_0 l_1 ... l_n o_new = o_old v l_i
The list items and the object have different types. I want to apply all the list items to the object: o_new = (...((o_old v l_0) v l_1) ... v l_n) NB. the order of items doesn't matter Currently I do it like this: o =: o_old 3 : 'o =: y v o' "0 l I suspect, there must be some built-in feature for that, like / or ^:, so that I could write e.g. o_new =: o_old v REDUCE l, but I couldn't find a suitable verb/adverb/conjunction. Any help? Thank you. Georgiy Pruss. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
