1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v2: imports

This commit is contained in:
Alexander Medvednikov
2020-02-12 01:16:38 +01:00
parent 0ec5680156
commit d9cf98f772
5 changed files with 53 additions and 6 deletions

View File

@ -460,7 +460,6 @@ pub fn (a []int) reduce(iter fn(accum, curr int)int, accum_start int) int {
return _accum
}
/*
// array_eq<T> checks if two arrays contain all the same elements in the same order.
// []int == []int (also for: i64, f32, f64, byte, string)
fn array_eq<T>(a1, a2 []T) bool {
@ -494,7 +493,6 @@ pub fn (a []byte) eq(a2 []byte) bool {
pub fn (a []f32) eq(a2 []f32) bool {
return array_eq(a, a2)
}
*/
// compare_i64 for []f64 sort_with_compare()
// sort []i64 with quicksort