summaryrefslogtreecommitdiff
path: root/stdlib/map.mli
diff options
context:
space:
mode:
authorJérémie Dimino <jeremie@dimino.org>2018-08-27 12:42:14 +0100
committerGitHub <noreply@github.com>2018-08-27 12:42:14 +0100
commit9124ab82d14b0fe4c8092af0f666b19d42139af0 (patch)
tree1d5fca3e26e7029af257196acf8695046be71695 /stdlib/map.mli
parente6876098344a95a5a7c920b225a0dc797f7c8be1 (diff)
downloadocaml-9124ab82d14b0fe4c8092af0f666b19d42139af0.tar.gz
Deprecate Pervasives (#1605)
- inline Pervasives in Stdlib and re-add Pervasives as a deprecated module that aliases all elements of Stdlib except the stdlib modules. - remove special case for Stdlib.Pervasives in printtyp.ml
Diffstat (limited to 'stdlib/map.mli')
-rw-r--r--stdlib/map.mli6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/map.mli b/stdlib/map.mli
index 531fb8fe6c..5980bad0f9 100644
--- a/stdlib/map.mli
+++ b/stdlib/map.mli
@@ -28,8 +28,8 @@
struct
type t = int * int
let compare (x0,y0) (x1,y1) =
- match Pervasives.compare x0 x1 with
- 0 -> Pervasives.compare y0 y1
+ match Stdlib.compare x0 x1 with
+ 0 -> Stdlib.compare y0 y1
| c -> c
end
@@ -55,7 +55,7 @@ module type OrderedType =
[f e1 e2] is strictly negative if [e1] is smaller than [e2],
and [f e1 e2] is strictly positive if [e1] is greater than [e2].
Example: a suitable ordering function is the generic structural
- comparison function {!Pervasives.compare}. *)
+ comparison function {!Stdlib.compare}. *)
end
(** Input signature of the functor {!Map.Make}. *)