On Mon, Jul 25, 2022 at 7:51 PM Elijah Stone <elro...@elronnd.net> wrote:
> Have you ever written code using @., as in u`v @. w, where the ranks of the
> results of u and v differ from one another (for a given rank of x/y)?  If so,
> an you post a self-contained snippet?  (Don't worry about being runnable; I
> just want to get a general idea of the code patterns.)

I don't know how I would find such code, though I can imagine having written it.

So, instead, I'll describe an example where I might have used this
pattern: game logic where the verb advanced the game state (returning
an updated game board, or a win/lose/draw game over message).

(And, here, depending on what all I was using the gerund for, one of
the challenges would probably be making apparent to the reader the
relationship between the decision logic (@.w) and the organization of
the gerund (u`v ...).)

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

Reply via email to