diff --git a/2023/1-1.nix b/2023/1-1.nix index cce02b0..4a8dae3 100644 --- a/2023/1-1.nix +++ b/2023/1-1.nix @@ -11,7 +11,5 @@ with builtins; with lib; rec { linesNumbers = map firstAndLastConcatted linesOnlyNumbers; - sumOfLinesNumbers = foldl' add 0 (map fromJSON linesNumbers); - - result = sumOfLinesNumbers; + result = foldl' add 0 (map fromJSON linesNumbers); }