aboutsummaryrefslogtreecommitdiff
path: root/aoc-2022-dotnet/Day07/Program.fs
diff options
context:
space:
mode:
Diffstat (limited to 'aoc-2022-dotnet/Day07/Program.fs')
-rw-r--r--aoc-2022-dotnet/Day07/Program.fs4
1 files changed, 2 insertions, 2 deletions
diff --git a/aoc-2022-dotnet/Day07/Program.fs b/aoc-2022-dotnet/Day07/Program.fs
index e48bb53..7079a33 100644
--- a/aoc-2022-dotnet/Day07/Program.fs
+++ b/aoc-2022-dotnet/Day07/Program.fs
@@ -16,7 +16,7 @@ type Command =
| CD of string // dest
| LS of Node list // nodes in current dir
-let parseCommands input =
+let parseCommands =
let pcd = pstring "$ cd " >>. restOfLine true |>> CD
let pfile = pint32 .>> pchar ' ' .>> restOfLine true |>> File
let pdir = pstring "dir " >>. restOfLine true |>> Dir
@@ -29,7 +29,7 @@ let parseCommands input =
let pcmd = pcd <|> pls
let pinput = many pcmd
- Util.parse pinput input
+ Util.parse pinput
let combine =
function