mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
Add a CCMonomorphic module shipped into a containers.monomorphic library
This commit is contained in:
parent
631b33f62e
commit
01a3b94ff9
4 changed files with 27 additions and 0 deletions
1
.merlin
1
.merlin
|
|
@ -4,6 +4,7 @@ S src/iter/
|
|||
S src/sexp/
|
||||
S src/threads/
|
||||
S src/string
|
||||
S src/monomorphic
|
||||
S benchs
|
||||
S examples
|
||||
S tests
|
||||
|
|
|
|||
6
_oasis
6
_oasis
|
|
@ -47,6 +47,12 @@ Library "containers"
|
|||
BuildDepends: bytes, result
|
||||
# BuildDepends: bytes, bisect_ppx
|
||||
|
||||
Library "containers_monomorphic"
|
||||
Path: src/monomorphic
|
||||
Modules: CCMonomorphic
|
||||
FindlibParent: containers
|
||||
FindlibName: monomorphic
|
||||
|
||||
Library "containers_unix"
|
||||
Path: src/unix
|
||||
Modules: CCUnix
|
||||
|
|
|
|||
4
src/monomorphic/CCMonomorphic.ml
Normal file
4
src/monomorphic/CCMonomorphic.ml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
(* This file is free software, part of containers. See file "license" for more details. *)
|
||||
|
||||
include Pervasives
|
||||
16
src/monomorphic/CCMonomorphic.mli
Normal file
16
src/monomorphic/CCMonomorphic.mli
Normal 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
|
||||
Loading…
Add table
Reference in a new issue