type T(ArrLike) F Str(t:T) "<My array has ${len(t)} items totalling ${sum(t)}>" # Override one of the Arr methods a = T() a.push(10) a.push(20) echo(a) # <My array has 2 items totalling 30> # If you need init() you should have something like the following to allow ArrLike initialization: init(t:T) { super(t) ... }