I feel a lot the same way. I avoid overriding default fill except when it's
just too awkward without overriding fill.

On Thu, May 21, 2009 at 10:00 AM, Roger Hui <[email protected]> wrote:

> Fill is kind of a distasteful idea and we are loath to extend
> it even if it were possible.  Fill items (instead of fill atoms)
> is possible; other ideas discussed in this thread are not.
>
>
>
> ----- Original Message -----
> From: Don Guinn <[email protected]>
> Date: Thursday, May 21, 2009 5:26
> Subject: Re: [Jprogramming] >!.
> To: Programming forum <[email protected]>
>
> > It seems that !. only takes atoms as the fill. Shouldn't it be
> > able to take
> > an item type fill to fill items?
> >
> > Also, it can't be applied to user defined names even if the name is
> > something like " t=:{. " where giving a fill would certainly
> > make sense. One
> > of the statements I seem to remember but can't find is that all
> > primitivescan be given names and it is valid to use those names
> > used in place of the
> > primitives. I can assign !. to a name and use it but the name
> > nor !. will
> > accept user defined names.
> >
> >    3{.!.5 6]i.2 2
> > |rank error
> > |   3    {.!.5 6]i.2 2
> >    3{.!.5 ]i.2 2
> > 0 1
> > 2 3
> > 5 5
> >    3{.!.(<5 6)<"1 i.2 2
> > +---+---+---+
> > |0 1|2 3|5 6|
> > +---+---+---+
> ----------------------------------------------------------------------
> 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