Defining fit as:
   fit=:2 : '(u f.)!.n'
works.

1 2 laminate fit 10]3 4 5

1 2 10

3 4 5


On Mon, Mar 5, 2018 at 9:46 PM, Raul Miller <rauldmil...@gmail.com> wrote:

> On Mon, Mar 5, 2018 at 7:14 PM, Ian Clark <earthspo...@gmail.com> wrote:
> > But I was writing tongue-in-cheek when I suggested Foreigns. Maybe the J
> > way of doing it is to stick a new (!.)-option in there somewhere, to
> warn J
> > not to optimize.
>
> If you want to prevent the optimization, break the pattern.
>
> Ways that i believe currently work (though I've not tested all of this
> yet against the newest interpreters) include naming part of the
> critical phrase, adding a redundant rank specification on a verb in
> the phrase, altering the sequence with an identity function, and
> creating an intermediate result to separate parts of the phrase.
>
> I hope this helps,
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to