From 6fc820cd0cb61a4bacda5f5b40c98dda850d75da Mon Sep 17 00:00:00 2001 From: Tomasz Chojnacki Date: Tue, 13 Dec 2022 16:38:41 +0100 Subject: Upload days 12 and 13 --- aoc-2022-dotnet/Day11/Program.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aoc-2022-dotnet/Day11') diff --git a/aoc-2022-dotnet/Day11/Program.fs b/aoc-2022-dotnet/Day11/Program.fs index 640a731..0fca3bf 100644 --- a/aoc-2022-dotnet/Day11/Program.fs +++ b/aoc-2022-dotnet/Day11/Program.fs @@ -41,7 +41,7 @@ type Monkey = Inspections = m.Inspections + int64 (List.length throws) }, throws - static member parseList input = + static member parseList = let pid = pstring "Monkey " >>. pint32 .>> pchar ':' @@ -88,7 +88,7 @@ type Monkey = Inspections = 0 } let pmonkeys = sepBy1 pmonkey newline - Util.parse pmonkeys input + Util.parse pmonkeys let monkeyBusiness = List.map Monkey.inspections -- cgit v1.2.3