Commit Graph

12 Commits (0f72bc981939d05abfeb964f8c68f9d030de977b)

Author SHA1 Message Date
nyx-litenite a902178fdb
arrays: implement python-inspired array zip function and test (#8667) 2021-03-07 11:58:13 +02:00
Nick Treleaven 2be852e461
arrays: use for/in instead of unsafe `[direct_array_access]` (#8857) 2021-02-20 15:27:36 +02:00
Subhomoy Haldar 9a1da1a97b
rand: move the shuffle function from `arrays` to `rand.util` (#8587) 2021-02-05 20:24:38 +02:00
Delyan Angelov dab66593fc vlib: run vfmt over vlib files, so that `v doc -m vlib/` can run without warnings 2020-10-21 12:54:10 +03:00
Delyan Angelov 3795aaab5c v test-fmt: reformat some skipped files, comment on the remaining ones 2020-10-15 00:39:09 +03:00
Maciej Obarski 9a5b86e454
arrays: common methods - min, max, idx_min, idx_max, shuffle, merge (#6177) 2020-09-07 13:50:53 +02:00
Delyan Angelov 034bf46e4d vlib: remove unused arrays module 2020-05-16 00:20:14 +03:00
yuyi 2574dce174
all: fix remaining `[]array` warnings 2020-04-26 16:25:54 +02:00
Alexander Medvednikov df37597f00 tests: disable cookie test for now 2020-04-14 03:43:59 +02:00
Alexey ccb041c831 arrays: improve `range` function 2019-12-25 15:52:27 +03:00
Alexander Medvednikov 316cf025ae arrays: fix range 2019-10-30 17:30:49 +03:00
Alexander Medvednikov aa39451c8b arrays.range(min, max) 2019-10-30 16:21:57 +03:00