multiple verbs (actually verb phrases) in a definition or within parentheses
form a train, which get applied specially.
%...@+/@% combines all the verbs into a single verb phrase, and so applies them
simply one after the other as you might expect in other languages
in '[: +/ %' the [: prevents the train (fork) special application, and so is
the same as +/@%.
'% [: +/ %' would still be a hook (4 element train). It is the same as '%
+/@%' (2 verb phrase hook evaluated as y % +/@% y)
'( [: % [: +/ % )' prevents the hook train from applying. Same as original:
'%...@+/@%'
As far as a good reason for ( [: % [: +/ [: % ) being an error instead of the
same, I am lost too, but I'm guessing its just not necessary to support extra
[:s.
eg. ( [: % [: +/ % ) isn't ( [: % [: +/ [: % ), guess I'll just
have to rtfm.
__________________________________________________________________
The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo!
Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm