summaryrefslogtreecommitdiff
path: root/ocaml/lib/year2025/day01/part01/solver.mli
blob: 2eecf19ae660efad395e7de8c209acf8cb4f0931 (plain)
1
2
3
4
val solve : string -> unit -> (int, string) result
(** [solve input ()] is the solution for the first part of the first day of advent of code 2025 for [input].
    The solution for an empty input is [None].
    Requires: [input] to be a multiline string using `\n` as it's line separator. *)