aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind
diff options
context:
space:
mode:
authorHugo Herbelin2019-11-18 16:04:45 +0100
committerHugo Herbelin2019-12-06 17:31:39 +0100
commit490704f4b2db98f4ef15f5e380b63e49e13a418b (patch)
tree625e60c878e2768dbce36129e1df80ceace17495 /plugins/funind
parent28c4f57e0614523879201d1c59816cde188e5b22 (diff)
Moving the diversity of constr printers to a label style.
This allows to give access to all printing options (e.g. a scope or being-in-context) to every printer w/o increasing the numbers of functions.
Diffstat (limited to 'plugins/funind')
-rw-r--r--plugins/funind/gen_principle.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/funind/gen_principle.ml b/plugins/funind/gen_principle.ml
index 6add56dd5b..58efee1518 100644
--- a/plugins/funind/gen_principle.ml
+++ b/plugins/funind/gen_principle.ml
@@ -142,7 +142,7 @@ let recompute_binder_list fixpoint_exprl =
with rec_order = ComFixpoint.adjust_rec_order ~structonly:false fix.binders fix.rec_order }) fixpoint_exprl in
let ((_,_,_,typel),_,ctx,_) = ComFixpoint.interp_fixpoint ~cofix:false fixl in
let constr_expr_typel =
- with_full_print (List.map (fun c -> Constrextern.extern_constr false (Global.env ()) (Evd.from_ctx ctx) (EConstr.of_constr c))) typel in
+ with_full_print (List.map (fun c -> Constrextern.extern_constr (Global.env ()) (Evd.from_ctx ctx) (EConstr.of_constr c))) typel in
let fixpoint_exprl_with_new_bl =
List.map2 (fun ({ Vernacexpr.binders } as fp) fix_typ ->
let binders, rtype = rebuild_bl [] binders fix_typ in
@@ -1902,8 +1902,8 @@ let make_graph (f_ref : GlobRef.t) =
let env = Global.env () in
let extern_body,extern_type =
with_full_print (fun () ->
- (Constrextern.extern_constr false env sigma (EConstr.of_constr body),
- Constrextern.extern_type false env sigma
+ (Constrextern.extern_constr env sigma (EConstr.of_constr body),
+ Constrextern.extern_type env sigma
(EConstr.of_constr (*FIXME*) c_body.Declarations.const_type)
)
)