Logo
Explore Help
Sign In
TheCloud/v
1
0
Fork 0
You've already forked v
mirror of https://github.com/vlang/v.git synced 2025-08-04 02:07:28 -04:00
Code Issues Packages Projects Releases Wiki Activity
v/vlib/arrays
History
Turiiya 1e38cc0986
checker: disallow module name duplicates in local names (#18118)
2023-09-08 23:33:35 +03:00
..
arrays_test.v
arrays: add a generic arrays.append/2, which unlike arrays.concat(a, ...b), does not require a spread for the second argument
2023-08-13 20:04:44 +03:00
arrays.v
checker: disallow module name duplicates in local names (#18118)
2023-09-08 23:33:35 +03:00
index_of.v
arrays: add map_of_counts/1, map_of_indexes/1 as well as index_of_first/2, index_of_last/2 utilities (#16618)
2022-12-09 00:37:07 +02:00
map_of.v
arrays: add map_of_counts/1, map_of_indexes/1 as well as index_of_first/2, index_of_last/2 utilities (#16618)
2022-12-09 00:37:07 +02:00
README.md
all: change optional to result in most of the libraries (#16123)
2022-10-20 22:14:33 +03:00
uniq_test.v
arrays: add new generic arrays.uniq, arrays.uniq_only, arrays.uniq_only_repeated, arrays.uniq_all_repeated, arrays.distinct
2023-09-01 16:51:51 +03:00
uniq.v
arrays: add new generic arrays.uniq, arrays.uniq_only, arrays.uniq_only_repeated, arrays.uniq_all_repeated, arrays.distinct
2023-09-01 16:51:51 +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
}
Powered by Gitea Version: Page: 406ms Template: 17ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API