An adverb has these argument patterns when it produces a verb
      (u adverb) y  NB. we use the verb's monadic definition
   x (u adverb) y  NB. we use the verb's dyadic definition

In the body of the definition of the adverb, m is the same as u if u
is a noun but is undefined if u is a verb.

Does this help?

-- 
Raul

On Thu, Jan 17, 2013 at 10:17 AM, Steven Taylor <[email protected]> wrote:
> very interesting... particularly the -.LF part.
>
> is m is the left-hand verb argument of the adverb?  I suppose it is an
> 'adjective' in this usage.
>
> thanks,
> -Steven
>
>
> On 17 January 2013 14:58, Raul Miller <[email protected]> wrote:
>
>> Of course, if you use 0 :0 you do not need to quote your strings.
>>
>> If you are trying to build a verb that uses a single large string, you
>> might want to use (0 :0)(1 :0) instead of 3 :0.
>>
>> If you define two blocks from the same line, and both block references
>> are parenthesized, you need to provide the right block's text before
>> you provide the left block's text.  (If you instead use (0 :0)1 :0 the
>> block order would be reversed.)
>>
>> example=: (0 :0)(1 :0)
>>    y,m,y
>> :
>>    x,m,y
>> )
>> 'stuff'
>> )
>>    example '*'
>> *'stuff'
>> *
>>    '<' example '>'
>> <'stuff'
>> >
>>
>> If you do not want the newline, you might instead use (0 :0-.LF)
>>
>> FYI,
>>
>> --
>> Raul
>>
>> On Thu, Jan 17, 2013 at 9:45 AM, Steven Taylor <[email protected]> wrote:
>> > the motivation here isn't that strong, but I was curious to know if there
>> > was another form of J that avoided needing double single quotes inside
>> > strings.
>> >
>> > Example 1 (runs):
>> >
>> > fa=.0 : 0
>> >
>> >  abc
>> >
>> > )
>> >
>> > f=:3 : 0
>> >
>> >  fa
>> >
>> > )
>> >
>> > f''
>> >
>> >
>> > Example 2 (fails):
>> >
>> > f=:3 : 0
>> >
>> >  a=.0 : 0
>> >
>> >   abc
>> >
>> >  )
>> >
>> >  a
>> >
>> > )
>> >
>> >
>> >  f ''
>> >
>> > thanks,
>> > -Steven
>> > ----------------------------------------------------------------------
>> > For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to