You can search for identifiers within the package.
in-package search v0.2.0
prbnmcn-stats
Gen.Rational
val categorical : ('a * Q.t) array -> 'a t
Categorical distribution. Total mass need not be one. Does not aggregate mass of equal elements.
Invalid_argument
if some weights are negative or if the total mass is zero.