aboutsummaryrefslogtreecommitdiff
path: root/lib/pp.ml
diff options
context:
space:
mode:
authorPierre Boutillier2014-02-25 18:44:00 +0100
committerPierre Boutillier2014-02-28 17:26:48 +0100
commitd99fe37fc4b348fd86ac836cbe4166ef28ed34c2 (patch)
treeff40e4dad41decdd629fb803f5006dfd066f2306 /lib/pp.ml
parentfeb82c906b62ab0f94bf57d28e10d1307a65f05f (diff)
Fix output test-suite 'simpl tactic' -> 'reduction tactics'
Diffstat (limited to 'lib/pp.ml')
-rw-r--r--lib/pp.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pp.ml b/lib/pp.ml
index bbd5c35207..f9fe53fdf6 100644
--- a/lib/pp.ml
+++ b/lib/pp.ml
@@ -430,13 +430,13 @@ let prlist_sep_lastsep no_empty sep lastsep elem =
|[] -> mt ()
|[e] -> elem e
|h::t -> let e = elem h in
- if no_empty && e = mt () then start t else
+ if no_empty && ismt e then start t else
let rec aux = function
|[] -> mt ()
|h::t ->
let e = elem h and r = aux t in
- if no_empty && e = mt () then r else
- if r = mt ()
+ if no_empty && ismt e then r else
+ if ismt r
then let s = lastsep () in s ++ e
else let s = sep () in s ++ e ++ r
in let r = aux t in e ++ r