diff options
Diffstat (limited to 'pretyping/cbv.mli')
-rw-r--r-- | pretyping/cbv.mli | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pretyping/cbv.mli b/pretyping/cbv.mli index 461115a56..de66d22bc 100644 --- a/pretyping/cbv.mli +++ b/pretyping/cbv.mli @@ -29,18 +29,20 @@ val cbv_norm : cbv_infos -> constr -> constr (*i This is for cbv debug *) type cbv_value = | VAL of int * constr + | STACK of int * cbv_value * cbv_stack + | CBN of constr * cbv_value subs | LAM of int * (name * constr) list * constr * cbv_value subs | FIXP of fixpoint * cbv_value subs * cbv_value array | COFIXP of cofixpoint * cbv_value subs * cbv_value array | CONSTR of constructor * cbv_value array -val shift_value : int -> cbv_value -> cbv_value - -type cbv_stack = +and cbv_stack = | TOP | APP of cbv_value array * cbv_stack | CASE of constr * constr array * case_info * cbv_value subs * cbv_stack +val shift_value : int -> cbv_value -> cbv_value + val stack_app : cbv_value array -> cbv_stack -> cbv_stack val strip_appl : cbv_value -> cbv_stack -> cbv_value * cbv_stack |