summaryrefslogtreecommitdiff
path: root/2025/ocaml/lib/application/d04p02.mli
diff options
context:
space:
mode:
Diffstat (limited to '2025/ocaml/lib/application/d04p02.mli')
-rw-r--r--2025/ocaml/lib/application/d04p02.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/2025/ocaml/lib/application/d04p02.mli b/2025/ocaml/lib/application/d04p02.mli
index 69c5181..388ec56 100644
--- a/2025/ocaml/lib/application/d04p02.mli
+++ b/2025/ocaml/lib/application/d04p02.mli
@@ -1,4 +1,4 @@
-val solve : string -> unit -> int
+val solve : string -> unit -> (int, string) result
(** [solve input ()] is the solution for the second part of the fourth day of advent of code 2025 for [input].
- The solution for an empty input is 0.
+ The solution for an empty input is [Error msg].
Requires: [input] to be a string. *)