mirror of
https://github.com/bearlanguageorg/bear.git
synced 2026-08-26 15:37:18 +00:00
vrmm build files
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// simple generic test - no type args
|
||||
|
||||
fn first[T](arr) {
|
||||
return arr[0]
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let nums = [10, 20, 30]
|
||||
println(first(nums))
|
||||
}
|
||||
Reference in New Issue
Block a user