(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) (* unit -> ('a value * 'a t) (** Create a new hook together with a way to retrieve its runtime value. *) val get : 'a value -> 'a (** Access the content of a hook. If it was not set yet, try to recover the default value if there is one. @raise Assert_failure if undefined. *) val set : 'a t -> 'a -> unit (** Register a hook. Assertion failure if already registered. *)