Pascal, I have been following this thread with some interest, but until just now I missed your comment that the derivation of the adverb `points` "creates a tacit verb:". I have never noticed such before, but I have confirmed that the resulting verb is tacit. My question to all is since when did J start doing that? I am just wondering how long I have been unaware, but don't need an exact answer.
Thanks, On Sat, Apr 18, 2015 at 11:10 AM, 'Pascal Jasmin' via Programming < [email protected]> wrote: > clever stuff thanks, > > here is an adverb form for the clock precision function. m is the number > of points on the clock up to 90 degrees. The input is structured that way > so that the requirement that it be a multiple of 4 is removed. > > > > points =: 1 : '((4*m)|[+{:@]) ,~ (2&{.)@] + (3 : ''|:(,:y|.])(,-)}:y-|i: > y'' m) {~ (4*m)|[+{:@]' > > creates a tacit verb: > > 1 points > (4 | [ + {:@]) ,~ 2&{.@] + (4 2$0 1 1 0 0 _1 _1 0) {~ 4 | [ + {:@] > > > -- (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
