diff options
| author | Pierre Boutillier | 2014-02-25 18:44:00 +0100 |
|---|---|---|
| committer | Pierre Boutillier | 2014-02-28 17:26:48 +0100 |
| commit | d99fe37fc4b348fd86ac836cbe4166ef28ed34c2 (patch) | |
| tree | ff40e4dad41decdd629fb803f5006dfd066f2306 /lib/pp.ml | |
| parent | feb82c906b62ab0f94bf57d28e10d1307a65f05f (diff) | |
Fix output test-suite 'simpl tactic' -> 'reduction tactics'
Diffstat (limited to 'lib/pp.ml')
| -rw-r--r-- | lib/pp.ml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
