X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FcicNotationFwd.ml;h=8e955c0b10a8d562647833d501477c3aa87a28ff;hb=ba2dfe6409e95bf9e558dc0d4be382b068671409;hp=10bab9e36fb3bcaedd333aec34ec64610077164d;hpb=f7759f86b755f4f7dc2b23edd52ed4d2e5c028fe;p=helm.git diff --git a/helm/ocaml/cic_notation/cicNotationFwd.ml b/helm/ocaml/cic_notation/cicNotationFwd.ml index 10bab9e36..8e955c0b1 100644 --- a/helm/ocaml/cic_notation/cicNotationFwd.ml +++ b/helm/ocaml/cic_notation/cicNotationFwd.ml @@ -211,7 +211,6 @@ let instantiate_level2 env term = | [] -> assert false (* as above *) | (name :: _) as names -> let rec instantiate_fold_left acc env' = - prerr_endline "instantiate_fold_left"; match lookup_value env' name with | ListValue (_ :: _) -> instantiate_fold_left @@ -232,7 +231,6 @@ let instantiate_level2 env term = | [] -> assert false (* as above *) | (name :: _) as names -> let rec instantiate_fold_right env' = - prerr_endline "instantiate_fold_right"; match lookup_value env' name with | ListValue (_ :: _) -> let acc = instantiate_fold_right (tail_names names env') in @@ -242,6 +240,8 @@ let instantiate_level2 env term = | _ -> assert false in instantiate_fold_right env) + | If (_, p_true, p_false) as t -> aux env (CicNotationUtil.find_branch (Magic t)) + | Fail -> assert false | _ -> assert false in aux env term