X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Finterface%2FcicPp.ml;h=e39a0caff76428ccc3f5310db97ef22c2d47394a;hb=8f2854b5ac8e44394d0056687897b1ed18ecf304;hp=932978664684cd8b638262890ea5bda9374032a7;hpb=c01d2aaea05f7385bee46addd900cd0397756389;p=helm.git diff --git a/helm/interface/cicPp.ml b/helm/interface/cicPp.ml index 932978664..e39a0caff 100644 --- a/helm/interface/cicPp.ml +++ b/helm/interface/cicPp.ml @@ -59,6 +59,8 @@ let rec pp t l = | C.Cast (v,t) -> pp v l | C.Lambda (b,s,t) -> "[" ^ string_of_name b ^ ":" ^ pp s l ^ "]" ^ pp t (b::l) + | C.LetIn (b,s,t) -> + "[" ^ string_of_name b ^ ":=" ^ pp s l ^ "]" ^ pp t (b::l) | C.Appl li -> "(" ^ (List.fold_right @@ -160,8 +162,9 @@ let ppobj obj = ) x "" ^ match i with "" -> "" | i' -> " " ^ i' ) params "" ^ "):\n" ^ pp ty [] - | C.Variable (name, ty) -> - "Variable " ^ name ^ ":\n" ^ pp ty [] + | C.Variable (name, bo, ty) -> + "Variable " ^ name ^ ":\n" ^ pp ty [] ^ "\n" ^ + (match bo with None -> "" | Some bo -> ":= " ^ pp bo []) | C.CurrentProof (name, conjectures, value, ty) -> "Current Proof:\n" ^ List.fold_right