You can search for identifiers within the package.
in-package search v0.2.0
cpm
Cpm.TopKeeper
type 'a t
val create : int -> 'a t
create n creates a 'a Top_keeper.t that will keep up to n best scoring elements
create n
'a Top_keeper.t
n
val add : 'a -> float -> 'a t -> 'a t
add elt score t add elt with score to the top_keeper t (if the score is good enough or if the top_keeper doesn't hold enough elements yet)
add elt score t
elt
score
t
val high_scores_first : 'a t -> (float * 'a) list
high_scores_first t retrieves the n best scores from t (with associated elements)
high_scores_first t