aboutsummaryrefslogtreecommitdiff
path: root/pretyping/reductionops.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-02-11 23:00:54 +0100
committerPierre-Marie Pédrot2020-06-04 12:44:46 +0200
commit4d98718e719f14b11c45465c2c7f31b2560cdd5f (patch)
tree17eb55be734ff373f66f4a549c904939ff2e23d9 /pretyping/reductionops.mli
parent7a8c4003ef5071d6b9bc248e997d0397304e8491 (diff)
Further cleanup.
We factorize code between Cbn and Reductionops, and remove dead code as well.
Diffstat (limited to 'pretyping/reductionops.mli')
-rw-r--r--pretyping/reductionops.mli13
1 files changed, 5 insertions, 8 deletions
diff --git a/pretyping/reductionops.mli b/pretyping/reductionops.mli
index 9202d1ac8c..a0cbd8ccf7 100644
--- a/pretyping/reductionops.mli
+++ b/pretyping/reductionops.mli
@@ -19,6 +19,11 @@ open Environ
exception Elimconst
+val debug_RAKAM : unit -> bool
+
+module CredNative : Primred.RedNative with
+ type elem = EConstr.t and type args = EConstr.t array and type evd = Evd.evar_map
+
(** Machinery to customize the behavior of the reduction *)
module ReductionBehaviour : sig
@@ -51,20 +56,12 @@ module Stack : sig
val pr_app_node : ('a -> Pp.t) -> 'a app_node -> Pp.t
- type cst_member =
- | Cst_const of pconstant
- | Cst_proj of Projection.t
-
type 'a member =
| App of 'a app_node
| Case of case_info * 'a * 'a array
| Proj of Projection.t
| Fix of ('a, 'a) pfixpoint * 'a t
| Primitive of CPrimitives.t * (Constant.t * EInstance.t) * 'a t * CPrimitives.args_red
- | Cst of cst_member
- * int (* current foccussed arg *)
- * int list (* remaining args *)
- * 'a t
and 'a t = 'a member list
val pr : ('a -> Pp.t) -> 'a t -> Pp.t