summaryrefslogtreecommitdiff
path: root/2025/ocaml/lib/application/d01p02.mli
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-12-02 00:09:58 +0100
committerDJ O'Leary <dijitol@proton.me>2025-12-02 00:09:58 +0100
commit121eba870e6faee3eb0985b53451c6a76e74a6c5 (patch)
treea7a05c04df4902595b80abfdf3eff53a7d348c81 /2025/ocaml/lib/application/d01p02.mli
parent6174e9bb0eeddb57f50c31d6de67c6327f4f39c7 (diff)
feat(2025d1p2): implement solution to problem
Diffstat (limited to '2025/ocaml/lib/application/d01p02.mli')
-rw-r--r--2025/ocaml/lib/application/d01p02.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/2025/ocaml/lib/application/d01p02.mli b/2025/ocaml/lib/application/d01p02.mli
new file mode 100644
index 0000000..33aa63f
--- /dev/null
+++ b/2025/ocaml/lib/application/d01p02.mli
@@ -0,0 +1,4 @@
+val solve : string -> unit -> int
+(** [solve input ()] is the solution for the second part of the first day of advent of code 2025 for [input].
+ The solution for an empty input is 0.
+ Requires: [input] to be a multiline string using `\n` as it's line separator. *)