X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Ftactics%2FproofEngineTypes.ml;h=58dafd1a674441e25a8a933dc82a031fef1a5fea;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=2e25e4a057389f7149bfa64334bcbefdca615d84;hpb=d1126c6b78a3333bbf415daf027004496b77c2f4;p=helm.git diff --git a/helm/ocaml/tactics/proofEngineTypes.ml b/helm/ocaml/tactics/proofEngineTypes.ml index 2e25e4a05..58dafd1a6 100644 --- a/helm/ocaml/tactics/proofEngineTypes.ml +++ b/helm/ocaml/tactics/proofEngineTypes.ml @@ -83,7 +83,7 @@ let conclusion_pattern t = t',[],Cic.Implicit (Some `Hole) (** tactic failure *) -exception Fail of string +exception Fail of string Lazy.t (** calls the opaque tactic on the status, restoring the original @@ -95,3 +95,6 @@ let apply_tactic t status = (** constraint: the returned value will always be constructed by Cic.Name **) type mk_fresh_name_type = Cic.metasenv -> Cic.context -> Cic.name -> typ:Cic.term -> Cic.name + +let goals_of_proof (_,metasenv,_,_) = List.map (fun (g,_,_) -> g) metasenv +