From 012fe1a96ba81ab0a7fa210610e3f25187baaf1d Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Tue, 12 Aug 2014 14:03:32 +0200 Subject: Referring to evars by names. Added a parser for evars (but parsing of instances still to do). Using heuristics to name after the quantifier name it comes. Also added a "sigma" to almost all printing functions. --- printing/printmod.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'printing/printmod.ml') diff --git a/printing/printmod.ml b/printing/printmod.ml index ffee2e244..488ac7177 100644 --- a/printing/printmod.ml +++ b/printing/printmod.ml @@ -146,13 +146,13 @@ let print_body is_impl env mp (l,body) = | None -> mt () | Some env -> str " :" ++ spc () ++ - hov 0 (Printer.pr_ltype_env env + hov 0 (Printer.pr_ltype_env env Evd.empty (* No evars in modules *) (Typeops.type_of_constant_type env cb.const_type)) ++ (match cb.const_body with | Def l when is_impl -> spc () ++ hov 2 (str ":= " ++ - Printer.pr_lconstr_env env (Mod_subst.force_constr l)) + Printer.pr_lconstr_env env Evd.empty (Mod_subst.force_constr l)) | _ -> mt ()) ++ str "." ++ Printer.pr_universe_ctx cb.const_universes) | SFBmind mib -> -- cgit v1.2.3