From c725cde0c8badeea5a2b720778a0d68c5054c9c9 Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Mon, 1 Dec 2025 14:24:35 +0100 Subject: feat(2025d1p1): implement application logic and apply to example --- 2025/ocaml/lib/application/day_1.mli | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 2025/ocaml/lib/application/day_1.mli (limited to '2025/ocaml/lib/application/day_1.mli') diff --git a/2025/ocaml/lib/application/day_1.mli b/2025/ocaml/lib/application/day_1.mli new file mode 100644 index 0000000..73631f1 --- /dev/null +++ b/2025/ocaml/lib/application/day_1.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. *) -- cgit v1.2.3