Thank you Jose,

I am liking Cloak very much, but was having difficulty applying it to `:6 .

Here is what I was after, more generically (applying to verb that outputs 
gerunds) :

   +/`''  (evoke&6 @:( 4 : 'x ` y') ) %`#
+/ % #
( +/`''  (evoke&6 @:( 4 : 'x ` y') ) %`#) 1 2 3
2


----- Original Message -----
From: Jose Mario Quintana <jose.mario.quint...@gmail.com>
To: Programming forum <programm...@jsoftware.com>
Cc: 
Sent: Friday, March 7, 2014 12:26:54 PM
Subject: Re: [Jprogramming] `: 6 binding to verb

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

Reply via email to