diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2023-09-21 19:21:02 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2023-09-26 18:55:54 +0200 |
commit | 7a0b5c36c943f4f257c93f3c3e7fed22ffe2d67c (patch) | |
tree | dec4b368e2209243173303ed339eb8672037d4e3 /lib | |
parent | cef748b8bc0dc728fec91bf546c1b2152e1d85e7 (diff) |
lib.lists.foldl': Remove fallback
Nix 2.3, the minimum Nix version supported by Nixpkgs, has `builtins.foldl'` already.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lists.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lists.nix b/lib/lists.nix index 0800aeb654516..4a13550ca9ea3 100644 --- a/lib/lists.nix +++ b/lib/lists.nix @@ -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 |