// simple generic test fn first[T](arr) { return arr[0] } fn main() { let nums = [10, 20, 30] println(first[int](nums)) }