v/vlib/arrays
牧心 11d9a67e3b
cgen: fix invalid operands to `an_alias in an_array_of_aliased_values` (#13994)
2022-04-10 11:42:17 +03:00
..
README.md docs: add more documentation to each of the modules in vlib (#13043) 2022-01-07 13:28:50 +02:00
arrays.v v.doc: parse multi-line examples (so they get highlighted) (#13894) 2022-04-02 18:29:12 +03:00
arrays_test.v cgen: fix invalid operands to `an_alias in an_array_of_aliased_values` (#13994) 2022-04-10 11:42:17 +03:00

README.md

Description:

arrays is a module that provides utility functions to make working with arrays easier.

Examples:

import arrays

fn main() {
	a := [1, 5, 7, 0, 9]
	assert arrays.min(a) ? == 0
	assert arrays.max(a) ? == 9
	assert arrays.idx_min(a) ? == 3
}