X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Facic_content%2FcicNotationPp.ml;h=6ea839ce322afff694ad1af077b2253a31730aba;hb=b58b7f9f3fdf8d66522b31828faa5bfa588c31b8;hp=236b985075b022605a7e95b297fe5e844c414ea1;hpb=cc23f034c9419186602d9250456241f2eba90d7c;p=helm.git diff --git a/helm/software/components/acic_content/cicNotationPp.ml b/helm/software/components/acic_content/cicNotationPp.ml index 236b98507..6ea839ce3 100644 --- a/helm/software/components/acic_content/cicNotationPp.ml +++ b/helm/software/components/acic_content/cicNotationPp.ml @@ -116,9 +116,9 @@ let rec pp_term ?(pp_parens = true) t = (pp_patterns patterns) | Ast.Cast (t1, t2) -> sprintf "(%s: %s)" (pp_term ~pp_parens:true t1) (pp_term ~pp_parens:true t2) | Ast.LetIn ((var,t2), t1, t3) -> - let t2 = match t2 with None -> Ast.Implicit | Some t -> t in - sprintf "let %s : %s \\def %s in %s" (pp_term var) - (pp_term ~pp_parens:true t2) +(* let t2 = match t2 with None -> Ast.Implicit | Some t -> t in *) + sprintf "let %s \\def %s in %s" (pp_term var) +(* (pp_term ~pp_parens:true t2) *) (pp_term ~pp_parens:true t1) (pp_term ~pp_parens:true t3) | Ast.LetRec (kind, definitions, term) -> @@ -158,7 +158,7 @@ let rec pp_term ?(pp_parens = true) t = | Ast.Sort `Set -> "Set" | Ast.Sort `Prop -> "Prop" | Ast.Sort (`Type _) -> "Type" - | Ast.Sort `CProp -> "CProp" + | Ast.Sort (`CProp _)-> "CProp" | Ast.Symbol (name, _) -> "'" ^ name | Ast.UserInput -> ""