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-03 17:57:59 -04:00
Code Issues Packages Projects Releases Wiki Activity
v/vlib/arrays
History
yuyi 008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
2024-09-10 11:25:56 +03:00
..
parallel
vlib: add an arrays.parallel module, containing parallel.run/3 and parallel.amap/3 implementations (#22090)
2024-08-24 17:57:06 +03:00
arrays_fold_test.v
arrays: fix arrays.fold, when the init value in the call, is an array (#21921)
2024-07-24 16:37:20 +03:00
arrays_test.v
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
2024-09-10 11:25:56 +03:00
arrays.v
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
2024-09-10 11:25:56 +03:00
index_of.v
…
map_of.v
all: fix typos (#19634)
2023-10-23 21:21:15 +03:00
README.md
doc: update trim_doc_node_description, make module readmes more uniform (#20792)
2024-02-12 12:38:47 +02:00
uniq_test.v
arrays: fix off by one error in arrays.uniq_only_repeated/1 and arrays.uniq_all_repeated/1
2023-12-04 15:30:59 +02:00
uniq.v
arrays: fix off by one error in arrays.uniq_only_repeated/1 and arrays.uniq_all_repeated/1
2023-12-04 15:30:59 +02: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: 1454ms Template: 53ms
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