Closed
Description
This function has it's arguments in the haskelly order that is analogous to the direction that is being folded - initial value, then the vector to fold. While this is kind of nice, it's contrary to our standard argument order of taking the vector being operated on first, and different from the order used by the iter library. Also the function that is taken as the third argument should probably have it's arguments switched. Essentially, I think foldl and foldr should have the same signature, in vec
, iter
and std::list
Metadata
Metadata
Assignees
Labels
No labels