From 71fe84d0d6dc8e646332cc5790308de2f8f0fdab Mon Sep 17 00:00:00 2001 From: Jim Fehrle Date: Sat, 3 Oct 2020 11:53:32 -0700 Subject: Avoid magic numbers --- clib/cString.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clib/cString.mli') diff --git a/clib/cString.mli b/clib/cString.mli index 0f78e66573..be8a202b64 100644 --- a/clib/cString.mli +++ b/clib/cString.mli @@ -54,6 +54,9 @@ sig val is_prefix : string -> string -> bool (** [is_prefix p s] tests whether [p] is a prefix of [s]. *) + val is_suffix : string -> string -> bool + (** [is_suffix suf s] tests whether [suf] is a suffix of [s]. *) + (** {6 Generic operations} **) module Set : Set.S with type elt = t -- cgit v1.2.3