summaryrefslogtreecommitdiff
path: root/2025/ocaml/lib/application/d01p01.mli
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-12-01 22:51:45 +0100
committerDJ O'Leary <dijitol@proton.me>2025-12-01 22:51:45 +0100
commitcdbf4be6fa793ca1286604bdc2a1bb5c9e6a197a (patch)
tree071845ef3ceee7cbf571a0e8c86f01e79a55ca95 /2025/ocaml/lib/application/d01p01.mli
parentc725cde0c8badeea5a2b720778a0d68c5054c9c9 (diff)
refactor(2025d1p1): rename files to order correctly and include part number
Diffstat (limited to '2025/ocaml/lib/application/d01p01.mli')
-rw-r--r--2025/ocaml/lib/application/d01p01.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/2025/ocaml/lib/application/d01p01.mli b/2025/ocaml/lib/application/d01p01.mli
new file mode 100644
index 0000000..73631f1
--- /dev/null
+++ b/2025/ocaml/lib/application/d01p01.mli
@@ -0,0 +1,4 @@
+val solve : string -> unit -> int
+(** [solve input ()] is the solution for the first day of advent of code 2025 for [input].
+ The solution for an empty input is [Domain.Day_1.Dial.(to_int start)].
+ Requires: [input] to be a multiline string using `\n` as it's line separator. *)