X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Ftactics%2FproofEngineTypes.ml;h=93436e799586b899ecd4ffe6a7ebb098e8e3f5b0;hb=b0a6c05decc9f0e731f70cfc5ae5350ae4046b79;hp=abe460775b935a5271a6cda8a5deb8e1ac5a879f;hpb=fbdd1cc46819d19ed135391a4a954c19d1b92c0c;p=helm.git diff --git a/components/tactics/proofEngineTypes.ml b/components/tactics/proofEngineTypes.ml index abe460775..93436e799 100644 --- a/components/tactics/proofEngineTypes.ml +++ b/components/tactics/proofEngineTypes.ml @@ -76,13 +76,15 @@ type ('term, 'lazy_term) pattern = type lazy_pattern = (Cic.term, Cic.lazy_term) pattern +let hole = Cic.Implicit (Some `Hole) + let conclusion_pattern t = let t' = match t with | None -> None | Some t -> Some (const_lazy_term t) in - t',[],Some (Cic.Implicit (Some `Hole)) + t',[], Some hole (** tactic failure *) exception Fail of string Lazy.t