package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 4.09.1

Install

Dune Dependency

Authors

Maintainers

Sources

4.09.1.tar.gz
sha256=3e3146e0c876d14bdd574cb543e782feb2b07a7cabd054a8f322ef40de61943a

doc/ocamlcommon/Types/Variance/index.html

Module Types.Variance

type t
type f =
  1. | May_pos
  2. | May_neg
  3. | May_weak
  4. | Inj
  5. | Pos
  6. | Neg
  7. | Inv
val null : t
val full : t
val covariant : t
val may_inv : t
val union : t -> t -> t
val inter : t -> t -> t
val subset : t -> t -> bool
val eq : t -> t -> bool
val set : f -> bool -> t -> t
val mem : f -> t -> bool
val conjugate : t -> t
val get_upper : t -> bool * bool
val get_lower : t -> bool * bool * bool * bool
OCaml

Innovation. Community. Security.