CCChar(cleanup): remove CCChar.compare from the mli

Char.compare already existe
This commit is contained in:
Fardale 2024-12-25 13:38:21 +01:00
parent e2ef6a750c
commit 5a3c7c7971

View file

@ -9,12 +9,6 @@ include module type of struct
include Char include Char
end end
val compare : t -> t -> int
(** The comparison function for characters, with the same specification as
{!Stdlib.compare}. Along with the type [t], this function [compare]
allows the module [Char] to be passed as argument to the functors
{!Set.Make} and {!Map.Make}. *)
val of_int_exn : int -> t val of_int_exn : int -> t
(** Alias to {!Char.chr}. (** Alias to {!Char.chr}.
Return the character with the given ASCII code. Return the character with the given ASCII code.