diff options
Diffstat (limited to 'lib/default.nix')
-rw-r--r-- | lib/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix index 036af97..3f14de0 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -7,7 +7,7 @@ nixpkgslib: let pow = base: e: if e == 0 then 1 - else foldl (a: b: a * base) 1 (genList id (e - 1)); + else foldl (x: _: x * base) 1 (genList id (e - 1)); # Power of 2 pow2 = pow 2; |