Add a CCMonomorphic module shipped into a containers.monomorphic library

This commit is contained in:
Jacques-Pascal Deplaix 2017-12-19 21:12:12 +00:00
parent 631b33f62e
commit 01a3b94ff9
4 changed files with 27 additions and 0 deletions

View file

@ -4,6 +4,7 @@ S src/iter/
S src/sexp/ S src/sexp/
S src/threads/ S src/threads/
S src/string S src/string
S src/monomorphic
S benchs S benchs
S examples S examples
S tests S tests

6
_oasis
View file

@ -47,6 +47,12 @@ Library "containers"
BuildDepends: bytes, result BuildDepends: bytes, result
# BuildDepends: bytes, bisect_ppx # BuildDepends: bytes, bisect_ppx
Library "containers_monomorphic"
Path: src/monomorphic
Modules: CCMonomorphic
FindlibParent: containers
FindlibName: monomorphic
Library "containers_unix" Library "containers_unix"
Path: src/unix Path: src/unix
Modules: CCUnix Modules: CCUnix

View file

@ -0,0 +1,4 @@
(* This file is free software, part of containers. See file "license" for more details. *)
include Pervasives

View file

@ -0,0 +1,16 @@
(* This file is free software, part of containers. See file "license" for more details. *)
(** {1 Shadow unsafe functions and operators from Pervasives} *)
(** @since NEXT_RELEASE *)
val (=) : int -> int -> bool
val (<>) : int -> int -> bool
val (<) : int -> int -> bool
val (>) : int -> int -> bool
val (<=) : int -> int -> bool
val (>=) : int -> int -> bool
val compare : int -> int -> int
val min : int -> int -> int
val max : int -> int -> int