I want an inverted table to be a rank 1 or rank 0 noun and have
updated the inverted table verbs accordingly.  tassert was 
and is correct.



----- Original Message -----
From: bill lam <[EMAIL PROTECTED]>
Date: Sunday, October 7, 2007 20:54
Subject: [Jprogramming] Essays/Inverted Table: Assertions
To: Programming forum <[email protected]>

> 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to