On Sat, Jun 12, 2010 at 1:27 PM, David Ward Lambert <[email protected]> wrote: > a and b are nouns > f g h are verbs. > > a f a g a h b > > performs the necessary computation. > How rewrite so that a appears once?
I know that Dan Bron has already answered this question, but you should know that J also has a facility to suggest answers to this sort of question. For example: f=:g=:h=:+ 13 :'x f x g x h y' [ f [ g h FYI, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
