Level Of | L. _ |
If y is open or empty, L. y is 0;
if it is boxed and non-empty, the level is one plus the maximum
of the levels of the opened elements.
|
|
]y=: (<<2 3 4),<(5 6 ; <<i. 2 3) +-------+-------------+ |+-----+|+---+-------+| ||2 3 4|||5 6|+-----+|| |+-----+|| ||0 1 2||| | || ||3 4 5||| | || |+-----+|| | |+---+-------+| +-------+-------------+ L. y 3 L."0 y 2 3