Generic Function At-Rank (3 methods)
(
at-rank collection
rank
)
On a set, returns the element with rank rank
; on a bag, returns
that element with its multiplicity as a second value; on a map, returns
the pair with that rank as two values. Note that if there are values/keys
that are unequal but equivalent in the collection, an arbitrary order will be
imposed on them for this purpose; but another collection that is equal?
but not eq
to this one will in general order them differently.
Method Summary