Dose_debian.Evolution
module Version = Dose_versioning.Debian
val discriminant : ?bottom:bool -> ?highest:bool ->
([> `Eq of string | `Hi of string | `In of string * string | `Lo of string ] as 'a -> 'b -> 'c) -> string list -> 'b list -> ('a * 'a list) list
discriminants ?bottom ?ascending evalsel vl constraints
returns the discriminants of the versions vl
w.r.t. the constraints
, using evalsel
to determine whether a a version satisfy a constraint. For each discriminant, a canonical representative is given, as well as the list of all other equivalent versions.
val constraints : < breaks : (('a * 'b) * (string * string) option) list; conflicts : (('a * 'c) * (string * string) option) list; depends : (('a * 'd) * (string * string) option) list list; pre_depends : (('a * 'e) * (string * string) option) list list; provides : (('a * 'f) * (string * string) option) list; .. > list -> ('a, ([> `Eq | `Geq | `Gt | `Leq | `Lt | `Neq ] * string) list) ExtLib.Hashtbl.t
constraints universe
returns a map between package names and an ordered list of constraints where the package name is mentioned