Raul replied to Oleg:
> > (p. i.@>: % ])~`(],-)/@|. 3 5 10
> > 3 3.2 3.4 3.6 3.8 4 4.2 4.4 4.6 4.8 5
>
> [EMAIL PROTECTED]&' ' gives me 21 for that definition, vs. 22 for
> >> steps =: {. - -/@}: * (i.@>: % ])@{:
>
> However, I get 20 with this definition:
> steps=: -/[EMAIL PROTECTED]: p. (i.@>: % -)@{:
A better comparison is provided by #@;: (counting primaries, literal
nouns, and defined names -- rather than characters).
In many cases the same result would be provided by [EMAIL PROTECTED]&' .:' but
it
not only fails to match #@;: it's longer and more complicated.
For the three verbs you compared, the respective results are
18 16 15 when #@;: is used.
--
Tracy
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm