From dbdeb7eaf3b92308e4895eb76dd9f3c5dae5b041 Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Tue, 19 Aug 2025 00:48:54 +0200 Subject: some change idk --- 2024/OCaml/lib/day_04/part_01.ml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '2024/OCaml/lib/day_04') diff --git a/2024/OCaml/lib/day_04/part_01.ml b/2024/OCaml/lib/day_04/part_01.ml index 63c1cfd..acb3e3b 100644 --- a/2024/OCaml/lib/day_04/part_01.ml +++ b/2024/OCaml/lib/day_04/part_01.ml @@ -6,8 +6,9 @@ type direction = N | NE | E | SE | S | SW | W | NW let all_directions = [ N; NE; E; SE; S; SW; W; NW ] let needle = "XMAS" -(** [calculate_row_offset lines] is the offset used to move between the rows of the concatenated variant of [lines] as though it were a grid. - Requires: values of [lines] all have the same length *) +(** [calculate_row_offset lines] is the offset used to move between the rows of + the concatenated variant of [lines] as though it were a grid. Requires: + values of [lines] all have the same length *) let calculate_row_offset lines = match lines with [] -> 0 | h :: _ -> String.length h -- cgit v1.2.3