mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
11 lines
133 B
V
11 lines
133 B
V
module arrays
|
|
|
|
/*
|
|
pub fn range<T>(start, end T) []T {
|
|
mut res := []T
|
|
for i := start; i < end; i++ {
|
|
res << i
|
|
}
|
|
return res
|
|
}
|
|
*/
|