mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
12 lines
135 B
V
12 lines
135 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
|
|
}
|
|
*/
|