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:
parent
3a4535f680
commit
ba2414968e
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue