Hi All, I am sure yo guys already knew this, but I discovered something new. I can constrain an array to a type.
Array of strings: > my Str @x; [] > @x[1] ="abc"; abc > @x[0] = 12.3; Type check failed in assignment to @x; expected Str but got Rat (12.3) in block <unit> at <unknown file> line 1 :-) -T