X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Focaml%2Fcic_transformations%2FtacticAstPp.ml;h=83fdaf0829d7238c20faa991b08f96b373b3201f;hb=a3acd934eba07f24937e59c3c7a41db82d901025;hp=33b5e8ade73c04e40d161f74f8fb4c72b66f9dd4;hpb=80fc89019bcb7fb7e0e1fb8bb111b708be49d19f;p=helm.git diff --git a/helm/ocaml/cic_transformations/tacticAstPp.ml b/helm/ocaml/cic_transformations/tacticAstPp.ml index 33b5e8ade..83fdaf082 100644 --- a/helm/ocaml/cic_transformations/tacticAstPp.ml +++ b/helm/ocaml/cic_transformations/tacticAstPp.ml @@ -104,7 +104,8 @@ let rec pp_tactic = function sprintf "replace %s with %s" (pp_pattern pattern) (pp_term_ast t) | Rewrite (_, pos, t, pattern) -> sprintf "rewrite %s %s %s" - (if pos = `Left then "left" else "right") (pp_term_ast t) + (if pos = `LeftToRight then ">" else "<") + (pp_term_ast t) (pp_pattern pattern) | Right _ -> "right" | Ring _ -> "ring"