package containers

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v2.8.1.tar.gz
md5=d84e09c5d0abc501aa17cd502e31a038
sha512=8b832f4ada6035e80d81be0cfb7bdffb695ec67d465ed6097a144019e2b8a8f909095e78019c3da2d8181cc3cd730cd48f7519e87d3162442562103b7f36aabb

doc/containers/CCBool/index.html

Module CCBoolSource

Basic Bool functions

Sourcetype t = bool
Sourceval compare : t -> t -> int

Total ordering on booleans, similar to Pervasives.compare.

Sourceval equal : t -> t -> bool
Sourceval to_int : t -> int

to_int true = 1, to_int false = 0.

  • since 2.7
Sourceval of_int : int -> t

of_int i is the same as i <> 0

  • since 2.7
Sourceval negate : t -> t
  • deprecated use `not` instead
Sourcetype 'a printer = Format.formatter -> 'a -> unit
Sourceval pp : t printer