foldLeftWithIndex<A, B> method
Implementation
B foldLeftWithIndex<A, B>(F fa, B z, B f(B previous, int i, A a)) => foldLeft(fa, tuple2(z, 0), (Tuple2<B, int> t, A a) => tuple2(f(t.value1, t.value2, a), t.value2+1)).value1;
B foldLeftWithIndex<A, B>(F fa, B z, B f(B previous, int i, A a)) => foldLeft(fa, tuple2(z, 0), (Tuple2<B, int> t, A a) => tuple2(f(t.value1, t.value2, a), t.value2+1)).value1;