package opam-format

  1. Overview
  2. Docs

Versions

include OpamStd.ABSTRACT
type t
val of_string : string -> t
val to_string : t -> string
val to_json : t -> OpamJson.t
val of_json : OpamJson.t -> t option
module Set : OpamStd.SET with type elt = t
module Map : OpamStd.MAP with type key = t
val compare : t -> t -> int

Compare two versions using the Debian version scheme

val equal : t -> t -> bool

Are two package versions equal?

OCaml

Innovation. Community. Security.