diff options
| author | Maxime Dénès | 2018-12-21 10:52:36 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2018-12-21 10:52:36 +0100 |
| commit | ba6b5839add7587837b4cea890f2d505ce76d489 (patch) | |
| tree | 56f1a87240d53a3a4cc814e9e64f8646a1c50731 /printing/printmod.ml | |
| parent | 8d41928c9f0bb54ed41e3ab0d7a6f76d556bb588 (diff) | |
| parent | c4397eab9f92f29fb32dd7e3cc3e4c81c63efe7d (diff) | |
Merge PR #9182: Stop printing Monomorphic/Polymorphic in Print.
Diffstat (limited to 'printing/printmod.ml')
| -rw-r--r-- | printing/printmod.ml | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/printing/printmod.ml b/printing/printmod.ml index a8d7b0c1a8..898f231a8b 100644 --- a/printing/printmod.ml +++ b/printing/printmod.ml @@ -123,11 +123,7 @@ let print_mutual_inductive env mind mib udecl = (Declareops.inductive_polymorphic_context mib) udecl in let sigma = Evd.from_ctx (UState.of_binders bl) in - hov 0 (Printer.pr_polymorphic (Declareops.inductive_is_polymorphic mib) ++ - Printer.pr_cumulative - (Declareops.inductive_is_polymorphic mib) - (Declareops.inductive_is_cumulative mib) ++ - def keyword ++ spc () ++ + hov 0 (def keyword ++ spc () ++ prlist_with_sep (fun () -> fnl () ++ str" with ") (print_one_inductive env sigma mib) inds ++ match mib.mind_universes with @@ -172,10 +168,6 @@ let print_record env mind mib udecl = in hov 0 ( hov 0 ( - Printer.pr_polymorphic (Declareops.inductive_is_polymorphic mib) ++ - Printer.pr_cumulative - (Declareops.inductive_is_polymorphic mib) - (Declareops.inductive_is_cumulative mib) ++ def keyword ++ spc () ++ Id.print mip.mind_typename ++ brk(1,4) ++ print_params env sigma params ++ str ": " ++ Printer.pr_lconstr_env envpar sigma arity ++ brk(1,2) ++ |
