diff options
| author | Maxime Dénès | 2018-11-13 10:11:15 +0100 |
|---|---|---|
| committer | Vincent Laporte | 2019-03-26 08:51:00 +0000 |
| commit | e9bbfcd6d589a9e8e5abcd9fbc852a77996c97db (patch) | |
| tree | e293ad303dada2a0fa768c73f3ea79e2721f1c48 /tactics/hints.ml | |
| parent | b87f1432474bd3ffda6f02eb3ba7edf50114cc23 (diff) | |
Declare initial hint databases in prelude
Previously, they were hard-wired in the ML code.
Diffstat (limited to 'tactics/hints.ml')
| -rw-r--r-- | tactics/hints.ml | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tactics/hints.ml b/tactics/hints.ml index 85d75f1010..0daf57ae84 100644 --- a/tactics/hints.ml +++ b/tactics/hints.ml @@ -738,16 +738,7 @@ module Hintdbmap = String.Map type hint_db = Hint_db.t -(** Initially created hint databases, for typeclasses and rewrite *) -let typeclasses_db = "typeclass_instances" -let rewrite_db = "rewrite" - -let auto_init_db = - Hintdbmap.add typeclasses_db (Hint_db.empty TransparentState.full true) - (Hintdbmap.add rewrite_db (Hint_db.empty TransparentState.cst_full true) - Hintdbmap.empty) - -let searchtable = Summary.ref ~name:"searchtable" auto_init_db +let searchtable = Summary.ref ~name:"searchtable" Hintdbmap.empty let statustable = Summary.ref ~name:"statustable" KNmap.empty let searchtable_map name = |
