From 976048a85403fbb0751c34fa42703a3c47f6e918 Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Sat, 27 Jun 2026 00:11:43 +0200 Subject: refactor!: change repo directory structure for ocaml --- ocaml/lib/year2025/day02/part02/id.mli | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ocaml/lib/year2025/day02/part02/id.mli (limited to 'ocaml/lib/year2025/day02/part02/id.mli') diff --git a/ocaml/lib/year2025/day02/part02/id.mli b/ocaml/lib/year2025/day02/part02/id.mli new file mode 100644 index 0000000..a512593 --- /dev/null +++ b/ocaml/lib/year2025/day02/part02/id.mli @@ -0,0 +1,16 @@ +module ID : sig + (** [t] is a ID within a range *) + type t + + val create : int -> t + (** [create num] is an ID [t] *) + + val incr : t -> t + (** [incr id] is the next [id] in the sequence *) + + val to_string : t -> string + (** [to_string id] is an string representation of [id] *) + + val pp : t -> string + (** [pp id] is a pretty string representing [id] *) +end -- cgit v1.2.3