about summary refs log tree commit diff stats
path: root/lib/day7.ml
diff options
context:
space:
mode:
authorbrian <brianmchu42@gmail.com>2023-12-03 21:54:01 -0800
committerbrian <brianmchu42@gmail.com>2023-12-03 21:54:01 -0800
commit7000f47b60b3fbdf90e2db12a363bbd1b2236b53 (patch)
tree13d9db09d3530f93d40afe1badf5da35c714a14d /lib/day7.ml
downloadAdventOfCode2023-7000f47b60b3fbdf90e2db12a363bbd1b2236b53.tar.gz
add template for ocaml
Diffstat (limited to 'lib/day7.ml')
-rw-r--r--lib/day7.ml24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/day7.ml b/lib/day7.ml
new file mode 100644
index 0000000..5f433e2
--- /dev/null
+++ b/lib/day7.ml
@@ -0,0 +1,24 @@
+open! Imports
+
+module M = struct
+  (* Type to parse the input into *)
+  type t = unit
+
+  (* Parse the input to type t, invoked for both parts *)
+  let parse _inputs = ()
+
+  (* Run part 1 with parsed inputs *)
+  let part1 _ = ()
+
+  (* Run part 2 with parsed inputs *)
+  let part2 _ = ()
+end
+
+include M
+include Day.Make (M)
+
+(* Example input *)
+let example = ""
+
+(* Expect test for example input *)
+let%expect_test _ = run example ; [%expect {| |}]