= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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 ->
('d * 'e 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 add_unique :
('a, ('b, unit) ExtLib.Hashtbl.t) ExtLib.Hashtbl.t ->
'c ->
'd ->
unit
val conj_iter :
('a,
(([> `Eq | `Geq | `Gt | `Leq | `Lt | `Neq ] * 'b) option, unit)
ExtLib.Hashtbl.t)
ExtLib.Hashtbl.t ->
(('c * 'd) * (string * 'e) option) list ->
unit
val cnf_iter :
('a,
(([> `Eq | `Geq | `Gt | `Leq | `Lt | `Neq ] * 'b) option, unit)
ExtLib.Hashtbl.t)
ExtLib.Hashtbl.t ->
(('a * 'c) * (string * 'b) option) list list ->
unit
val constraints :
< breaks : (('a * 'b) * (string * string) option) list
; conflicts : (('c * 'd) * (string * string) option) list
; depends : (('e * 'f) * (string * string) option) list list
; pre_depends : (('g * 'h) * (string * string) option) list list
; provides : (('i * 'j) * (string * string) option) list.. >
list ->
('k, ([> `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
val all_constraints : ('a, 'b list) ExtLib.Hashtbl.t -> 'c -> 'b list
val all_ver_constr :
('a, ('b * string) list) ExtLib.Hashtbl.t ->
< name : 'c ; version : string.. > list ->
string list * ('b * string) list