(********************************************************************) (* OCaml code from the book ``Learn Programming with OCaml'' *) (* See https://usr.lmf.cnrs.fr/lpo/ *) (* *) (* Sylvain Conchon and Jean-Christophe Filliâtre *) (* Copyright 2025 Université Paris-Saclay and CNRS *) (* *) (* Openly licensed via CC BY SA 4.0 *) (* See https://creativecommons.org/licenses/by-sa/4.0/deed.en *) (********************************************************************) (* Program 32 on page 209 Signature of Persistent Sets *) module type PersistentSet = sig type elt type t val empty : t val add : elt -> t -> t val mem : elt -> t -> bool val min_elt : t -> elt val remove : elt -> t -> t val cardinal : t -> int end
This document was generated using caml2html