mirror of
https://github.com/RGBCube/AdventOfCode
synced 2025-07-26 03:27:44 +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;
|
linesNumbers = map firstAndLastConcatted linesOnlyNumbers;
|
||||||
|
|
||||||
sumOfLinesNumbers = foldl' add 0 (map fromJSON linesNumbers);
|
result = foldl' add 0 (map fromJSON linesNumbers);
|
||||||
|
|
||||||
result = sumOfLinesNumbers;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue