]> matita.cs.unibo.it Git - helm.git/commitdiff
Comments added.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 26 Jul 2005 16:47:18 +0000 (16:47 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 26 Jul 2005 16:47:18 +0000 (16:47 +0000)
helm/ocaml/tactics/proofEngineHelpers.ml
helm/ocaml/tactics/proofEngineHelpers.mli

index a0fef6037982b57a0847d3d2ca98b8ac0636f149..4bb46fc4c011c491abfd316271b6e2b968137413 100644 (file)
@@ -554,6 +554,9 @@ exception Fail of string
    in
     subst,metasenv,ugraph,context_terms, ty_terms
 
+(** locate_in_term what where
+* [what] must be a physical pointer to a subterm of [where]
+* It returns the context of [what] in [where] *)
 let locate_in_term what ~where =
   let add_ctx context name entry =
       (Some (name, entry)) :: context
index b04f1313923404bc4c9533bf4937ba89e8220b9c..78dc22c1c2e6b0dff0edc6a614bc6f9acf46b77d 100644 (file)
@@ -80,6 +80,9 @@ val select:
   ] option list *
   (Cic.context * Cic.term) list
 
+(** locate_in_term what where
+* [what] must be a physical pointer to a subterm of [where]
+* It returns the context of [what] in [where] *)
 val locate_in_term: Cic.term -> where:Cic.term -> Cic.context
 
 (* saturate_term newmeta metasenv context ty                                  *)