aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/cClosure.mli
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2018-02-05 13:56:22 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2018-02-05 14:04:03 +0100
commite849572cd2b242b34fbec6c3eaa42e7d2e7cc550 (patch)
tree173fdd6bcb0d258985ffcdd125fcef0551dcb822 /kernel/cClosure.mli
parentc7026ec14f94875fc4b58951fa8bec628fcfac42 (diff)
Respect the transparent state of the current conversion on strong weak-head.
This fixes the previous patch in rare corner-cases where unification code was relying on both kernel conversion and specific transparent state.
Diffstat (limited to 'kernel/cClosure.mli')
-rw-r--r--kernel/cClosure.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/cClosure.mli b/kernel/cClosure.mli
index 119b70e30..41db0af75 100644
--- a/kernel/cClosure.mli
+++ b/kernel/cClosure.mli
@@ -61,6 +61,9 @@ module type RedFlagsSig = sig
(** Adds a reduction kind to a set *)
val red_add_transparent : reds -> transparent_state -> reds
+ (** Retrieve the transparent state of the reduction flags *)
+ val red_transparent : reds -> transparent_state
+
(** Build a reduction set from scratch = iter [red_add] on [no_red] *)
val mkflags : red_kind list -> reds