Henry wrote:

> The second sentence of II. Grammar in Ye Dic:
>
> Verbs act upon nouns to produce noun results...
>

Does the fact that verbs can also produce verbs, adverbs and conjunctions
(strictly speaking) contradicts the statement above? if the statement had
been 'Verbs act upon nouns to produce noun results and only noun results'
I would have no doubt whatsoever. I know, I know, I am playing the
Devil's advocate (no offense Dan, on the contrary). I realize now that
this issue has been discussed before
(http://www.jsoftware.com/pipermail/programming/2009-August/015945.html).
Besides, Dan used a definition that (again) did not forbid, at least not
explicitly, conjunctions as components of the gerundial power construction
(apart from, maybe, hinting the strict type of the components by their
names).

At any rate,

Henry wrote:

> Consider
>
> q =: V1 V2 V3
> r =: q"0
> r 1 2 3
>
> What is produced? What is its type? What is its rank (it it's a verb)?

Assuming that V1, V2 and V3 are verbs:

What is produced? What is its type? A noun or a verb or an adverb or a
conjunction (or an error, of course).

For example:

   v0=. [
   v1=. [
   v2=. [

   q=. v0 v1 v2
   r =: q"0

   r 1 2 3
1 2 3

   v0=. (dont bind '!')
   r 1 2 3
!

   v0=. (dont bind '/')
   r 1 2 3
/

   v0=. (dont bind '@')
   r 1 2 3
@

In other words, verbs can produce what adverbs and conjunctions can and
the same parsing rules operate but producing amazing results (pun
intended).  Following Marshall,

   DONT=. <@dont'dont'
   > DONT '+/' 1 2 3
6


------------------------------**------------------------------**----------
For information about J forums see
http://www.jsoftware.com/**forums.htm<http://www.jsoftware.com/forums.htm>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to