summaryrefslogtreecommitdiffstats
path: root/stdlib/bytes.mli
diff options
context:
space:
mode:
authorGabriel Scherer <gabriel.scherer@gmail.com>2014-12-21 11:46:08 +0000
committerGabriel Scherer <gabriel.scherer@gmail.com>2014-12-21 11:46:08 +0000
commit85b75d7963febd9f31a3fbf52a7846ee28c429e7 (patch)
treee33475baa95a388ff036a13f8a0c590b95f0fcb3 /stdlib/bytes.mli
parentc7d7103646aa5078d326a78c3d0f51709d38f579 (diff)
PR#6494: Add equal function in modules Big_int, Bytes, Char, Digest, Int32, Int64, Nativeint, Num and String
(Romain Calascibetta) From: Romain Calascibetta <romain.calascibetta@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15725 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/bytes.mli')
-rw-r--r--stdlib/bytes.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/bytes.mli b/stdlib/bytes.mli
index 82b28a28c..e873463a1 100644
--- a/stdlib/bytes.mli
+++ b/stdlib/bytes.mli
@@ -255,6 +255,9 @@ val compare: t -> t -> int
this function [compare] allows the module [Bytes] to be passed as
argument to the functors {!Set.Make} and {!Map.Make}. *)
+val equal: t -> t -> bool
+(** The equality function for byte sequences.
+ @since 4.03.0 *)
(** {4 Unsafe conversions (for advanced users)}