]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/tactics/proofEngineTypes.ml
ocaml 3.09 transition
[helm.git] / helm / ocaml / tactics / proofEngineTypes.ml
index 2e25e4a057389f7149bfa64334bcbefdca615d84..58dafd1a674441e25a8a933dc82a031fef1a5fea 100644 (file)
@@ -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
+