> From: Sherlock, Ric
> 
> > On Tue, Nov 3, 2009 at 7:08 PM, Sherlock, Ric wrote:
> >
> > My solution so far is to create an adverb:
> >   myverb=: 1 : '(m > $ ?...@$ 0:)`(] ,: nextletter)}'
> >   0.2 myverb 'aaaa'
> >abaa
> >
[snip other questions]
> Is it possible to define a "pure" tacit version of the above adverb?
> By "pure" I meanFor instance
>   topowerA=: ^&              NB. "pure"
>   topowerB=: 1 : '^&m'       NB. not "pure"?

Inspired by an earlier forum post by Dan Bron, I worked out an answer to one of 
my questions: 
http://www.jsoftware.com/pipermail/programming/2007-March/005425.html

Yes it can:
   myadverb=: &(> $ ?...@$ 0:)(`(] ,: nextletter))}
   0.2 myadverb 'aaaa'
abaa

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to