diff options
author | ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-09-14 17:18:21 +0000 |
---|---|---|
committer | ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-09-14 17:18:21 +0000 |
commit | c9f07d9494bf7ba8630f8eb3006b56bf6d21b9f7 (patch) | |
tree | f6304b4e4760baa52d57bc541a2c315cc6dfb7c8 /checker/cic.mli | |
parent | aeec3d3fa3c5014cbec45f3eefc0889cd1793a62 (diff) |
Slightly more compact representation of 'a substituted type,
removing an unneeded indirection.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16781 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'checker/cic.mli')
-rw-r--r-- | checker/cic.mli | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/checker/cic.mli b/checker/cic.mli index 7e0cae20a..93dc84fa5 100644 --- a/checker/cic.mli +++ b/checker/cic.mli @@ -128,11 +128,12 @@ type substitution = (module_path * delta_resolver) umap_t (** {6 Delayed constr} *) -type 'a lazy_subst = - | LSval of 'a - | LSlazy of substitution list * 'a +type 'a substituted = { + mutable subst_value : 'a; + mutable subst_subst : substitution list; +} -type constr_substituted = constr lazy_subst ref +type constr_substituted = constr substituted (** Nota : in coqtop, the [lazy_constr] type also have a [Direct] constructor, but it shouldn't occur inside a .vo, so we ignore it *) |