aboutsummaryrefslogtreecommitdiff
path: root/printing
diff options
context:
space:
mode:
Diffstat (limited to 'printing')
-rw-r--r--printing/ppconstr.ml10
1 files changed, 9 insertions, 1 deletions
diff --git a/printing/ppconstr.ml b/printing/ppconstr.ml
index 019fad0ce8..5b6c072839 100644
--- a/printing/ppconstr.ml
+++ b/printing/ppconstr.ml
@@ -118,8 +118,16 @@ let pr_name = pr_name
let pr_qualid = pr_qualid
let pr_patvar = pr_id
+let pr_glob_sort_instance = function
+ | GProp -> str "Prop"
+ | GSet -> str "Set"
+ | GType u ->
+ (match u with
+ | Some u -> str u
+ | None -> str "Type")
+
let pr_universe_instance l =
- pr_opt (pr_in_comment (prlist_with_sep spc pr_glob_sort)) l
+ pr_opt (pr_in_comment (prlist_with_sep spc pr_glob_sort_instance)) l
let pr_cref ref us =
pr_reference ref ++ pr_universe_instance us