I was using mean as a simple placeholder (J's tutorial fork) verb that was 
being created by gerunds.  I was looking for a solution for taking the result 
of a function that produces gerunds to convert that into a verb (train) from 
that same function.  The problem with:

   (+/`''  ( 4 : 'x ` y') %`#)`:6
+/ % #


is that it requires 2 function calls and a parenthesizing

whereas f=: evoke&6 @:( 4 : 'x ` y')  allows:


+/`'' f  %`#

I'm interested in building more complex f than that, but it would be needlessly 
distracting to ask for the help I received with distracting complications.


----- Original Message -----
From: Linda Alvord <lindaalv...@verizon.net>
To: programm...@jsoftware.com
Cc: 
Sent: Saturday, March 8, 2014 1:52:42 PM
Subject: Re: [Jprogramming] `: 6 binding to verb

Could you please explain with an example what your code will do that needs all 
the definitions that you include.

   o=: @:
   ar=: 5!:1@<
   Cloak=: (0:`)(,^:)
   Cloak=: (ar'Cloak')Cloak
  
   'evoke tie'=: < o Cloak "0 o ;: '`: `'
  
   g2v=: evoke&6 o tie f.
  
  
  
   ( +/`''  (evoke&6 @:( 4 : 'x ` y') ) %`#) 1 2 3
2
  
   f=: 13 :'x (+/%#) y'
  
   f 1 2 3
2

This example is not showing the strengths of your efforts.

Linda  
  

-----Original Message-----
From: programming-boun...@forums.jsoftware.com 
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Jose Mario 
Quintana
Sent: Friday, March 07, 2014 7:21 PM
To: Programming forum
Subject: Re: [Jprogramming] `: 6 binding to verb

I wrote:

"Orthodox verbs, explicit verbs in particular, can only take nouns and
produce nouns; in contrast, tacit wicked verbs can take words and
"

Actually, explicit verbs (even if they should not) can take any kind of
words as arguments when the sentences in the verb's body are syntactically
correct.


On Fri, Mar 7, 2014 at 12:26 PM, Jose Mario Quintana <
jose.mario.quint...@gmail.com> wrote:

> Orthodox verbs, explicit verbs in particular, can only take nouns and
> produce nouns; in contrast, tacit wicked verbs can take words and produce
> words of any kind (use them at your own risk).  For example,
>
>    9!:14''
> j701/2011-01-10/11:25
>
>    o=. @:
>    ar=. 5!:1@<
>    Cloak=. (0:`)(,^:)
>    Cloak=. (ar'Cloak')Cloak
>
>    'evoke tie'=. < o Cloak "0 o ;: '`: `'
>
>    g2v=. evoke&6 o tie f.
>
>    +/`'' g2v  %`#
> +/ % #
>
>
>  On Fri, Mar 7, 2014 at 10:05 AM, Pascal Jasmin <godspiral2...@yahoo.ca>wrote:
>
>> +/`''  ( 4 : 'x ` y') %`#
>> ┌───────┬─┬─┐
>> │┌─┬───┐│%│#│
>> ││/│┌─┐││ │ │
>> ││ ││+│││ │ │
>> ││ │└─┘││ │ │
>> │└─┴───┘│ │ │
>> └───────┴─┴─┘
>>
>> I would like to be able to define a single function (verb) that produces
>>
>>
>>    (+/`''  ( 4 : 'x ` y') %`#)`:6
>> +/ % #
>>
>> is that possible?
>>
>> my failed attempt:
>>
>> g2v =: 1 : ('( u y) `:6' ;':';'(x u y) `:6 ')
>> ----------------------------------------------------------------------
>> 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