summaryrefslogtreecommitdiff
path: root/2025/ocaml/lib/application/d01p01.mli
diff options
context:
space:
mode:
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. *)