Function foldl.foldl

auto foldl(R, T) (
  R range,
  auto ref T init
)
if (isInputRange!R && !isInfinite!R);

Parameters

NameDescription
R Input range type.
T Type of the accumulated value.
range Input range.
init Initial value.

Returns

Accumulated value.