I think that an inverted table should be rank-1 noun but tassert does not check
this. Although this is a stronger condition, some verbs for inverted table fail
for scalar argument.
,.&.> (<tgrade {.x) {&.> x
|length error: tgrade
| ,.&.>(< tgrade{.x){&.>x
,.&.> (<tgrade ,{.x) {&.> x
+------+-------+-+--+----+
|Angelo|Roberto|0|19|1.11|
|Chan |Wilson |0|47|2.11|
|Jones |Dakota |1|29|0.97|
|Saxon |Joan |1|31| 2.8|
|Smith |John |0|23|1.25|
|Smith |John |0|23|1.25|
|Wilson|Diana |1|23|1.25|
|Wilson|John |1|23|1.25|
+------+-------+-+--+----+
ttally {.x
|length error: ttally
| ttally{.x
ttally ,{.x
8
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm