module Category:Parameter_sig.Collection_categorywith type elt = elt
Categories for this collection.
type elt
Element in the category
typet =elt Parameter_category.t
val none : tThe category '@none'
val default : unit -> tThe '@default' category. By default, it is Parameter_sig.Collection_category.none.
val all : unit -> tThe '@all' category. If this category has not been created, it is
Parameter_sig.Collection_category.none, which means 'ignored'.
val set_default : t -> unitModify the '@default' category.
val add : string ->
State.t list ->
elt Parameter_category.accessor ->
tAdds a new category for this collection with the given name, accessor and dependencies.
val enable_all : State.t list ->
elt Parameter_category.accessor ->
tThe category '@all' is enabled in positive occurrences, with the given interpretation. In negative occurrences, it is always enabled and '-@all' means 'empty'.
val enable_all_as : t -> unitThe category '@all' is equivalent to the given category.