diff options
| author | Maxime Dénès | 2017-05-05 15:36:58 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-05-05 15:36:58 +0200 |
| commit | 1b4b828c3045263aee55ac19e7b9ba45a4743af2 (patch) | |
| tree | 73f7c9ed6210bc0449e0974d9dd20c79199718a1 /printing | |
| parent | 773d95f915996b581b7ea82d9193197649c951a0 (diff) | |
| parent | 4361c1ed9ac5646055f9f0eecc4a003d720c1994 (diff) | |
Merge PR#544: Anonymous universes
Diffstat (limited to 'printing')
| -rw-r--r-- | printing/ppconstr.ml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/printing/ppconstr.ml b/printing/ppconstr.ml index 3041ac259e..b546c39aec 100644 --- a/printing/ppconstr.ml +++ b/printing/ppconstr.ml @@ -151,8 +151,8 @@ let tag_var = tag Tag.variable let pr_univ l = match l with - | [_,x] -> str x - | l -> str"max(" ++ prlist_with_sep (fun () -> str",") (fun x -> str (snd x)) l ++ str")" + | [_,x] -> pr_name x + | l -> str"max(" ++ prlist_with_sep (fun () -> str",") (fun x -> pr_name (snd x)) l ++ str")" let pr_univ_annot pr x = str "@{" ++ pr x ++ str "}" @@ -166,7 +166,7 @@ let tag_var = tag Tag.variable | GProp -> tag_type (str "Prop") | GSet -> tag_type (str "Set") | GType None -> tag_type (str "Type") - | GType (Some (_, u)) -> tag_type (str u) + | GType (Some (_, u)) -> tag_type (pr_name u) let pr_qualid sp = let (sl, id) = repr_qualid sp in @@ -191,7 +191,7 @@ let tag_var = tag Tag.variable tag_type (str "Set") | GType u -> (match u with - | Some (_,u) -> str u + | Some (_,u) -> pr_name u | None -> tag_type (str "Type")) let pr_universe_instance l = |
