On Tue, Sep 28, 2010 at 4:50 PM, Justin Paston-Cooper
<paston.coo...@gmail.com> wrote:
> Is there an abbreviation for the following fork? I don't want the
> computation of <<x b y>> to happen twice.
>
> ([ a b) c (] d b)

When you need to intermix three (or more) values in J,
you have several options:

[1] Compose some (or all) of them into a list
[2] Use an explicit definition
[3] recompute some of them

Each has its own advantages and disadvantages.

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

Reply via email to