remove unnecessary ()
This commit is contained in:
parent
a89bf6e2c0
commit
1345fe3e8d
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ let
|
||||||
(listRange matrix)));
|
(listRange matrix)));
|
||||||
construct_diags = matrix: construct_diags' (map reverseList matrix);
|
construct_diags = matrix: construct_diags' (map reverseList matrix);
|
||||||
diags_1 = map concatStrings (construct_diags grid);
|
diags_1 = map concatStrings (construct_diags grid);
|
||||||
diags_2 = map concatStrings (construct_diags' (grid));
|
diags_2 = map concatStrings (construct_diags' grid);
|
||||||
in {
|
in {
|
||||||
part1 =
|
part1 =
|
||||||
listSumWith (s: (length (matchAll "XMAS" s)) + (length (matchAll "SAMX" s)))
|
listSumWith (s: (length (matchAll "XMAS" s)) + (length (matchAll "SAMX" s)))
|
||||||
|
|
Loading…
Reference in a new issue