aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/util.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.ml')
-rw-r--r--lib/util.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.ml b/lib/util.ml
index 599e17adf..dc25caefe 100644
--- a/lib/util.ml
+++ b/lib/util.ml
@@ -813,6 +813,8 @@ let prvect_with_sep sep elem v =
let n = Array.length v in
if n = 0 then mt () else pr (n - 1)
+let surround p = hov 1 (str"(" ++ p ++ str")")
+
(*s Size of ocaml values. *)
module Size = struct