aboutsummaryrefslogtreecommitdiff
path: root/lib/util.ml
diff options
context:
space:
mode:
authorherbelin2001-10-17 12:21:11 +0000
committerherbelin2001-10-17 12:21:11 +0000
commit000ece141dc22e35365ea81558e8b6b1e65bd54c (patch)
tree7d1ed07b637450b74706c7a8275af674abbf8456 /lib/util.ml
parent1d3ae116e508d29f0760f3e205f0b2e5db1829f8 (diff)
Nouvelle fonction
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2125 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/util.ml')
-rw-r--r--lib/util.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util.ml b/lib/util.ml
index cf5b58b49e..7435504816 100644
--- a/lib/util.ml
+++ b/lib/util.ml
@@ -504,6 +504,10 @@ let rec prlist_with_sep sep elem l = match l with
| h::t ->
let e = elem h and s = sep() and r = prlist_with_sep sep elem t in
[< e; s; r >]
+
+let pr_vertical_list pr = function
+ | [] -> [< 'sTR "none"; 'fNL >]
+ | l -> [< 'fNL; 'sTR " "; hOV 0 (prlist_with_sep pr_fnl pr l); 'fNL >]
let prvecti elem v =
let n = Array.length v in