package tezos-stdlib

  1. Overview
  2. Docs

Bounded sequence: keep only the n greatest elements.

Parameters

module E : Stdlib.Set.OrderedType

Signature

type t
val create : int -> t
val insert : E.t -> t -> unit
val get : t -> E.t list
OCaml

Innovation. Community. Security.