Cleanup functions

This commit is contained in:
zuckerberg
2022-12-03 19:53:50 -07:00
parent 13f84a3296
commit fb7913ad3d
2 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ let
totalsPerElf = map sum elfCalories;
part1 = maxList totalsPerElf;
part2 = sum (topOfList (sortList totalsPerElf) 3);
part2 = sum (topOfList 3 (sortList totalsPerElf));
in {
inherit part1;
inherit part2;