remove unnecessary ()

This commit is contained in:
Grimmauld 2024-12-04 13:16:19 +01:00
parent a89bf6e2c0
commit 1345fe3e8d
Signed by: Grimmauld
SSH key fingerprint: SHA256:Q8IL6Y7sSKqzkyFdV1L0O/EflEh1fFV3tBtwxpapRH4

View file

@ -13,7 +13,7 @@ let
(listRange matrix)));
construct_diags = matrix: construct_diags' (map reverseList matrix);
diags_1 = map concatStrings (construct_diags grid);
diags_2 = map concatStrings (construct_diags' (grid));
diags_2 = map concatStrings (construct_diags' grid);
in {
part1 =
listSumWith (s: (length (matchAll "XMAS" s)) + (length (matchAll "SAMX" s)))