In order to compare a noun with itself right-shifted 1 place, they
wrote the following:

    test=.~:~1&|.

But from my tests, getting rid of dyadic flip:

   test2=.~:1&|.

Leads to the same output.

Why do you think the authors used ~ to flip the arguments to ~: (once
it serves as the "join" of the
hook-which-turns-into-a-fork-with-the-noun-unadulterated-as-the-left-noun-of-the-fork)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to