On Fri, Sep 16, 2011 at 3:49 PM, David Vaughan <[email protected]> wrote: > I'm having trouble understanding: (#~ 1 p: {:"1) > More specifically, is that (verb noun verb verb), if so, how is that > executed? Or is it just three verbs and the 1 is part of one of them?
verb noun verb verb is treated as verb verb verb verb noun is treated as a constant verb which always produces itself as a result. This breaks down as: verb0 (verb1 verb2 verb) In other words, it's (verb0 verb) where the second verb is a verb phrase. When used monadically: (verb0 verb) noun is equivalent to noun verb0 verb noun In other words, the left verb is dyadic and the right verb is monadic. So substituting back into the original, this is equivalent to: noun verb0 (verb1 verb2 verb3) noun See also: http://www.jsoftware.com/help/dictionary/dictf.htm http://www.jsoftware.com/help/dictionary/dicte.htm or you might prefer the "j for c programmers" treatment: http://jsoftware.com/help/jforc/forks_hooks_and_compound_adv.htm FYI, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
