(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* unit (* [lookup_structure isp] returns the infos associated to inductive path [isp] if it corresponds to a structure, otherwise fails with [Not_found] *) val lookup_structure : inductive -> struc_typ (* raise [Not_found] if not a projection *) val find_projection_nparams : global_reference -> int (*s A canonical structure declares "canonical" conversion hints between *) (* the effective components of a structure and the projections of the *) (* structure *) type obj_typ = { o_DEF : constr; o_TABS : constr list; (* ordered *) o_TPARAMS : constr list; (* ordered *) o_TCOMPS : constr list } (* ordered *) val lookup_canonical_conversion : (global_reference * global_reference) -> obj_typ val declare_canonical_structure : global_reference -> unit val canonical_projections : unit -> ((global_reference * global_reference) * obj_typ) list