diff options
author | Tomasz Chojnacki <tomaszchojnacki2001@gmail.com> | 2022-12-13 16:38:41 +0100 |
---|---|---|
committer | Tomasz Chojnacki <tomaszchojnacki2001@gmail.com> | 2022-12-13 16:38:41 +0100 |
commit | 6fc820cd0cb61a4bacda5f5b40c98dda850d75da (patch) | |
tree | 7d08b0adbf8c1b60be906cab3ee7b76767b6908e /aoc-2022-dotnet/Day11 | |
parent | eb7cdaab9b9c13b3594e0abdbbff6f72f8cb4807 (diff) | |
download | gleam_aoc2020-6fc820cd0cb61a4bacda5f5b40c98dda850d75da.tar.gz gleam_aoc2020-6fc820cd0cb61a4bacda5f5b40c98dda850d75da.zip |
Upload days 12 and 13
Diffstat (limited to 'aoc-2022-dotnet/Day11')
-rw-r--r-- | aoc-2022-dotnet/Day11/Program.fs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |