summaryrefslogtreecommitdiff
path: root/2025/ocaml/lib/application/d06p01.mli
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-12-11 03:55:14 +0100
committerDJ O'Leary <dijitol@proton.me>2025-12-11 03:55:14 +0100
commitb1d636efd433f95b7a41b36d4236bd1c5731f371 (patch)
treecdb16e7601deee63f1a4d16f3029267d49bdd1d8 /2025/ocaml/lib/application/d06p01.mli
parent02c55e2f55be5b012d311a3bfcf4a4515881819e (diff)
feat(2025d6): add solution for part 1
Diffstat (limited to '2025/ocaml/lib/application/d06p01.mli')
-rw-r--r--2025/ocaml/lib/application/d06p01.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/2025/ocaml/lib/application/d06p01.mli b/2025/ocaml/lib/application/d06p01.mli
new file mode 100644
index 0000000..b3abc1e
--- /dev/null
+++ b/2025/ocaml/lib/application/d06p01.mli
@@ -0,0 +1,4 @@
+val solve : string -> unit -> (int, string) result
+(** [solve input ()] is the solution for the first part of the sixth day of advent of code 2025 for [input].
+ The solution for an empty input is [Error msg].
+ Requires: [input] to be a string. *)