[Jprogramming] Faster deb
Björn Helgason
gosinn at gmail.com
Thu Jan 5 18:34:05 HKT 2012
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 <lindaalvord at 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
>
>
More information about the Programming
mailing list