about summary refs log tree commit diff stats
path: root/lib/day_template.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/day_template.ml')
-rw-r--r--lib/day_template.ml24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/day_template.ml b/lib/day_template.ml
new file mode 100644
index 0000000..5f433e2
--- /dev/null
+++ b/lib/day_template.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 {| |}]