I found the answer to my question in the amend documentation (...
docs/help/dictionary/d530n.htm) :

   x m} y is formed by replacing by x those parts of y selected by m&{

   (an error is signalled if such selection requires fill).


Which explains why the following assignment fails :

   '='((<0; 0 1 2 3),(<1; 2 3),< 2 4 ; 5)}n
|domain error
|   '='    ((<0;0 1 2 3),(<1;2 3),<2 4;5)}n

On Mon, Nov 25, 2019 at 1:13 PM Raul Miller <rauldmil...@gmail.com> wrote:

> Definitely.
>
> But, also, it's a fill error in an intermediate result used by the
> implementation. It's not a fill error in user code.
>
> Thanks,
>
> --
> Raul
>
>
> On Mon, Nov 25, 2019 at 12:00 PM Henry Rich <henryhr...@gmail.com> wrote:
> >
> > I think it's a fill error as someone (Louis?) noted.
> >
> > Henry Rich
> >
> > On 11/25/2019 11:16 AM, Raul Miller wrote:
> > > In
> > >     n=:6 6$'O'
> > >     '='((<0; 0 1 2 3),(<1; 2 3),< 2 4 ; 5)}n
> > > |domain error
> > >
> > > that domain error smells like an implementation error.
> > >
> > > That said, I might be overlooking some relevant part of the dictionary.
> > >
> > > Thanks,
> > >
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> 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