Module Sek__.Owner
val none : owner
The distinguished owner
none
represents the absence of an owner. Therefore, it indicates that a data structure is shared.
val zero : owner
zero
is a fixed owner, distinct fromnone
.
val fresh : unit -> owner
fresh()
returns a fresh owner.
val is_uniquely_owned : owner -> owner -> bool
is_uniquely_owned o1 o2
tests whether a data structure tagged with creatoro1
is uniquely owned byo2
.
val show : owner -> string
show o
produces a string representation of the ownero
. It is used for debugging purposes only.