ArrayTypeOperator

public type ArrayTypeOperator[T] = Array[T]

Compiler-recognized type alias that lets [T] desugar to Array[T].

Allows annotations like let xs: [Int64] = [1, 2, 3] instead of requiring the user to spell out Array[Int64]. Not intended for direct use — the parser inserts it automatically when it sees the [T] shorthand in a type position.

Examples

let xs: [Int64] = [1, 2, 3]; // same as: Array[Int64] func sum(of values: [Float]) -> Float { ... }

Defined in lang/std/collections/array.ks