(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* 'glb -> 'glb module SubstObj = struct type ('raw, 'glb, 'top) obj = 'glb subst_fun let name = "subst" let default _ = None end module Subst = Register (SubstObj) let substitute = Subst.obj let register_subst0 = Subst.register0 let generic_substitute subs (GenArg (Glbwit wit, v)) = in_gen (glbwit wit) (substitute wit subs v)