foldLeftWithIndex<B> method
Implementation
B foldLeftWithIndex<B>(B b, B Function(int i, B acc, A a) f) =>
foldLeft<(B, int)>(
(b, 0),
(t, a) => (f(t.$2, t.$1, a), t.$2 + 1),
).$1;
B foldLeftWithIndex<B>(B b, B Function(int i, B acc, A a) f) =>
foldLeft<(B, int)>(
(b, 0),
(t, a) => (f(t.$2, t.$1, a), t.$2 + 1),
).$1;