package containers

  1. Overview
  2. Docs
A modular, clean and powerful extension of the OCaml standard library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

containers-3.18.tbz
sha256=52eeff91ce42b52305e6aaa8a58b88ce8f0a5a984199e59ca7e2fd9ebabe61d7
sha512=dc7337e6cbc9850542c7c9228d3bcb4e4add57a55e2a2992f21fb4761b3e10a68ef1d57ca37a7f5b303fc875fe3df5ecb69dbf2930bfcd1561ce03f7ae83e24b

doc/src/containers.monomorphic/CCMonomorphic.ml.html

Source file CCMonomorphic.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(* This file is free software, part of containers. See file "license" for more details. *)

let ( = ) : int -> int -> bool = Stdlib.( = )
let ( <> ) : int -> int -> bool = Stdlib.( <> )
let ( < ) : int -> int -> bool = Stdlib.( < )
let ( > ) : int -> int -> bool = Stdlib.( > )
let ( <= ) : int -> int -> bool = Stdlib.( <= )
let ( >= ) : int -> int -> bool = Stdlib.( >= )
let compare : int -> int -> int = Stdlib.compare

[@@@ifge 4.13]

let min : int -> int -> int = Int.min
let max : int -> int -> int = Int.max

[@@@else_]

let min : int -> int -> int = Stdlib.min
let max : int -> int -> int = Stdlib.max

[@@@endif]

let ( =. ) : float -> float -> bool = Stdlib.( = )
let ( <>. ) : float -> float -> bool = Stdlib.( <> )
let ( <. ) : float -> float -> bool = Stdlib.( < )
let ( >. ) : float -> float -> bool = Stdlib.( > )
let ( <=. ) : float -> float -> bool = Stdlib.( <= )
let ( >=. ) : float -> float -> bool = Stdlib.( >= )
let ( == ) = `Consider_using_CCEqual_physical
let ( != ) = `Consider_using_CCEqual_physical