module Disposal:Registries for semi-automatic object disposal.sig
..end
Disposal.Make(D)
creates a registry for disposal of objects of
type D.t
.
Disposal
ensures that for any managed object,
a disposer is called only once, whether manually or automatically,
except for the default disposer D.default
,
which must be safe to call multiple times on any already-disposed
object.
module type DISPOSABLE =sig
..end
Disposal.Make
.
module type DISPOSAL =sig
..end
Disposal.Make
.
module Make: