diff options
Diffstat (limited to 'users/sterni/nix')
-rw-r--r-- | users/sterni/nix/int/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/users/sterni/nix/int/default.nix b/users/sterni/nix/int/default.nix index 54b55964722d..a39a9477e211 100644 --- a/users/sterni/nix/int/default.nix +++ b/users/sterni/nix/int/default.nix @@ -100,6 +100,8 @@ let inRange = a: b: x: x >= a && x <= b; + sum = builtins.foldl' (a: b: a + b) 0; + in { inherit @@ -122,5 +124,6 @@ in toHex fromHex inRange + sum ; } |