fun4=.-.
   a fun4 ' '
nowisthetimeforallgoodmentocometotheaidoftheircountry
   a fun4 'c'
 now is the time for all good men to ome to the aidof their ountry
   a -. ' '
nowisthetimeforallgoodmentocometotheaidoftheircountry


2012/1/5 Linda Alvord <lindaalv...@verizon.net>

> Some hints to create a tacit verb:
>
>
>    a=.' now is the time for all good men to come to the aidof their country
> '
>    (0<-.' ' E.a)#a
> nowisthetimeforallgoodmentocometotheaidoftheircountry
>
> See if you can write a simple expression that gives the result you want.
> Then if it is monadic, simply begin  name=: 13 :   and enter the expression
> with y for the argument.  Inside a set of single quotes, you must use
> double
> quotes.
>
>   fun2=: 13 :'(0<-.'' ''E.y)#y'
>   fun2
> ] #~ 0 < [: -. ' ' E. ]
>
> The display of the tacit expression will have been created for you.
>
>    fun2 a
> nowisthetimeforallgoodmentocometotheaidoftheircountry
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to