X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_transformations%2FcicAstPp.ml;h=2cc83e74312f8f2e62ac70ab9835048553fcedc4;hb=5325734bc2e4927ed7ec146e35a6f0f2b49f50c1;hp=bd9eea6012927c97c6a64f0cb8fdf8d8483a6117;hpb=ee02781cec1158f51e98ca73a14b63841e5ba545;p=helm.git diff --git a/helm/ocaml/cic_transformations/cicAstPp.ml b/helm/ocaml/cic_transformations/cicAstPp.ml index bd9eea601..2cc83e743 100644 --- a/helm/ocaml/cic_transformations/cicAstPp.ml +++ b/helm/ocaml/cic_transformations/cicAstPp.ml @@ -65,7 +65,7 @@ let rec pp_term = function | CicAst.Ident (name, Some []) | CicAst.Ident (name, None) -> name - | CicAst.Ident (name, Some substs) -> sprintf "%s[%s]" name (pp_substs substs) + | CicAst.Ident (name, Some substs) -> sprintf "%s \\subst [%s]" name (pp_substs substs) | CicAst.Implicit -> "?" | CicAst.Meta (index, substs) -> sprintf "%d[%s]" index @@ -78,11 +78,11 @@ let rec pp_term = function | CicAst.Sort `CProp -> "CProp" | CicAst.Symbol (name, _) -> name -and pp_subst (name, term) = sprintf "%s := %s" name (pp_term term) +and pp_subst (name, term) = sprintf "%s \\Assign %s" name (pp_term term) and pp_substs substs = String.concat "; " (List.map pp_subst substs) and pp_pattern ((head, vars), term) = - sprintf "%s -> %s" + sprintf "%s \Rightarrow %s" (match vars with | [] -> head | _ ->