[Jprogramming] key misunderstanding?

Dan Bron j at bron.us
Fri Apr 22 17:06:50 UTC 2016


Pascal wrote:
> 0 0 1 1 1 (2 <\ ])\. i.5

Then:
> sorry, key is /. not \. 

Yep! But to address this:

> Something else happens. (called 5 times, in pattern that is hard to understand).

The tally of 0 0 1 1 1 (i.e. # 0 0 1 1 1) is 5, and the dyad f\. has a left rank of 0, so (2 <\ ]) is invoked once for each of 0, 0, 1, 1, 1 .

-Dan


More information about the Programming mailing list