diff options
| author | Pierre-Marie Pédrot | 2021-03-30 14:02:16 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2021-03-30 14:02:16 +0200 |
| commit | f0c6a1de3eef85ab0787be7e87cb8509e8df43d5 (patch) | |
| tree | 05f3cc7ece9e0a77f841b37a12db909ff6362be0 /vernac/comSearch.ml | |
| parent | 303afeab9c946bdba15e1984231ae5066bf37af6 (diff) | |
| parent | d9c80dadd353bd8b0eb90ce290048a2538f1a41a (diff) | |
Merge PR #13958: [recordops] complete API rewrite; the module is now called [structures]
Reviewed-by: SkySkimmer
Reviewed-by: ejgallego
Ack-by: herbelin
Reviewed-by: ppedrot
Diffstat (limited to 'vernac/comSearch.ml')
| -rw-r--r-- | vernac/comSearch.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vernac/comSearch.ml b/vernac/comSearch.ml index 1b811f3db7..39520a68ec 100644 --- a/vernac/comSearch.ml +++ b/vernac/comSearch.ml @@ -41,8 +41,8 @@ let kind_searcher = Decls.(function Inr (fun gr -> List.exists (fun c -> GlobRef.equal c.Coercionops.coe_value gr && (k' <> SubClass && k' <> IdentityCoercion || c.Coercionops.coe_is_identity)) coercions) | IsDefinition CanonicalStructure -> - let canonproj = Recordops.canonical_projections () in - Inr (fun gr -> List.exists (fun c -> GlobRef.equal (snd c).Recordops.o_ORIGIN gr) canonproj) + let canonproj = Structures.CSTable.entries () in + Inr (fun gr -> List.exists (fun c -> GlobRef.equal c.Structures.CSTable.solution gr) canonproj) | IsDefinition Scheme -> let schemes = DeclareScheme.all_schemes () in Inr (fun gr -> Indset.exists (fun c -> GlobRef.equal (GlobRef.IndRef c) gr) schemes) |
