diff options
author | Jérémie Dimino <jeremie@dimino.org> | 2018-08-27 12:42:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 12:42:14 +0100 |
commit | 9124ab82d14b0fe4c8092af0f666b19d42139af0 (patch) | |
tree | 1d5fca3e26e7029af257196acf8695046be71695 /stdlib/nativeint.mli | |
parent | e6876098344a95a5a7c920b225a0dc797f7c8be1 (diff) | |
download | ocaml-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/nativeint.mli')
-rw-r--r-- | stdlib/nativeint.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/nativeint.mli b/stdlib/nativeint.mli index 70ac696ad1..327e44efbf 100644 --- a/stdlib/nativeint.mli +++ b/stdlib/nativeint.mli @@ -54,7 +54,7 @@ external mul : nativeint -> nativeint -> nativeint = "%nativeint_mul" external div : nativeint -> nativeint -> nativeint = "%nativeint_div" (** Integer division. Raise [Division_by_zero] if the second argument is zero. This division rounds the real quotient of - its arguments towards zero, as specified for {!Pervasives.(/)}. *) + its arguments towards zero, as specified for {!Stdlib.(/)}. *) external rem : nativeint -> nativeint -> nativeint = "%nativeint_mod" (** Integer remainder. If [y] is not zero, the result @@ -183,7 +183,7 @@ type t = nativeint val compare: t -> t -> int (** The comparison function for native integers, with the same specification as - {!Pervasives.compare}. Along with the type [t], this function [compare] + {!Stdlib.compare}. Along with the type [t], this function [compare] allows the module [Nativeint] to be passed as argument to the functors {!Set.Make} and {!Map.Make}. *) |