On Mon, Jan 11, 2010 at 11:33 AM, Viktor Cerovski
<[email protected]> wrote:
> Raul Miller-4 wrote:
>> It appears that a verb phrase is something typically built
>> from adverbs and/or conjunctions,[...]
>>
> Well, according to "the left argument of an adverb or conjunction
> is the entire verb phrase that precedes it", why would not verb
> phrase just as well be a noun, like in:
>
> 1&f

It could be, but that would illustrate a different issue.

>> [...] and that hooks and
>> forks are not verb phrases unless they are contained in
>> parenthesis.
>>
> That's an interesting observation.  Let's follow it a bit: in the expression
>
> (u v)/
>
> the verb phrase is indeed (u v). Nevertheless, the expression:
>
> (u v)
>
> being a hook, is not a verb phrase.

I see no need to make this distinction.

> This way one could stop using hooks and forks altogether
> and program only with verb phrases.

We already know that hooks and forks are a convenience and
not necessary to the language.  Hook could have been implemented
using a conjunction and fork could have been implemented using
and adverb which produces a conjunction.  I am pretty sure that
I have posted example implementations of this in the past.

(Though working around bugs in 5!:5 have made my examples a bit
more complicated than I would have liked.)

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to