mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-14 01:14:28 +00:00
This fixes the (potential) multi-evaluation of the sequence parameter in foldl() and foldr(). It also adds a foldl() version which gets a start parameter. This allows for creating a result with a different type than the elements of the sequence.