Module Structures.InstanceSource

A canonical instance declares "canonical" conversion hints between the effective components of a structure and the projections of the structure

Sourcetype t

Process a record instance, checkig it can be registered as canonical. The record type must be declared as a canonical Structure.t beforehand.

Sourceval register : warn:bool -> Environ.env -> Evd.evar_map -> t -> unit

Register an instance as canonical

Sourceval subst : Mod_subst.substitution -> t -> t
Sourceval repr : t -> Names.GlobRef.t