Files
bear/examples/gen_test2.vr
T
2026-08-25 14:45:19 +02:00

11 lines
146 B
Plaintext

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