Priority.MakeFunctor building a concrete implementation of priority classes.
val is_valid : p_class -> boolval is_valid_err : p_class -> (unit, string) Stdlib.resultOk () if the class is valid, otherwise Error reason with a precise explanation of the violation. is_valid c = Result.is_ok (is_valid_err c).
val is_valid_list : p_class list -> boolOk () if the class is valid, otherwise Error reason with a precise explanation of the violation. is_valid c = Result.is_ok (is_valid_err c).
val cardinal : p_class list -> intval scan :
(Big.t * int) ->
part_f:
((Big.t * R.label * R.t list) list ->
(int * (Big.big_key * Big.t * R.label * R.t list)) list
* (int * R.label * R.t list) list
* int) ->
p_class list ->
((int * (Big.big_key * Big.t * R.label * R.t list)) list
* (int * R.label * R.t list) list
* int)
* intIterate over priority classes.