1
Fork 0
mirror of https://github.com/RGBCube/AdventOfCode synced 2025-07-25 11:07:45 +00:00

Make result variable more consistent

This commit is contained in:
RGBCube 2023-12-02 17:53:44 +03:00
parent 3a4535f680
commit ba2414968e
No known key found for this signature in database

View file

@ -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);
}