Remove unnecessary code

This commit is contained in:
zuckerberg
2022-12-03 20:00:30 -07:00
parent fb7913ad3d
commit 0ca34d3bdc
3 changed files with 2 additions and 4 deletions

View File

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