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 primitives
can 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