lib.lists.foldl': Remove fallback

Nix 2.3, the minimum Nix version supported by Nixpkgs, has
`builtins.foldl'` already.
This commit is contained in:
Silvan Mosberger 2023-09-21 19:21:02 +02:00
parent cef748b8bc
commit 7a0b5c36c9

View file

@ -94,7 +94,7 @@ rec {
Type: foldl' :: (b -> a -> b) -> b -> [a] -> b
*/
foldl' = builtins.foldl' or foldl;
foldl' = builtins.foldl';
/* Map with index starting from 0