[Jprogramming] Explicit to tacit

robert therriault bobtherriault at mac.com
Wed Jan 17 05:20:43 UTC 2018


Hi Skip,

I like using @: instead of [: and throwing a hook in shortens things a little bit by getting rid of one ] and 5&| gets rid of another.

 +/@:(#~ 0 = 5&|)@(100+i.900)"_

or if you were willing to use 900 as the argument to the tacit verb

 +/@:(#~ 0 = 5&|)@(100 + i.) 900

which in addition to being shorter strikes me as a little more elegant

Cheers, bob

> On Jan 16, 2018, at 8:39 PM, Skip Cave <skip at caveconsulting.com> wrote:
> 
> [: ([: +/ ] #~ 0 = 5 | ]) (100+i.900)"_



More information about the Programming mailing list