package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = int
val zero : t
val one : t
val minus_one : t
val neg : t -> t
val add : t -> t -> t
val (+) : t -> t -> t
val sub : t -> t -> t
val (-) : t -> t -> t
val mul : t -> t -> t
val (*) : t -> t -> t
val div : t -> t -> t
val (/) : t -> t -> t
val rem : t -> t -> t
val modulo : t -> t -> t
val pow : t -> t -> t
val (**) : t -> t -> t
val (<>) : t -> t -> bool
val (>) : t -> t -> bool
val (<) : t -> t -> bool
val (>=) : t -> t -> bool
val (<=) : t -> t -> bool
val (=) : t -> t -> bool
val max_num : t
val min_num : t
val succ : t -> t
val pred : t -> t
val abs : t -> t
val of_float : float -> t
val to_float : t -> float
val of_string : string -> t
val to_string : t -> string
val operations : t BatNumber.numeric
val of_int : int -> t
val to_int : t -> int
module Infix : sig ... end
module Compare : sig ... end
val print : 'a BatInnerIO.output -> t -> unit
val compare : t -> t -> int
val equal : t -> t -> bool
val ord : t -> t -> BatOrd.order
OCaml

Innovation. Community. Security.