]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/acic_content/termAcicContent.ml
improved coercions support:
[helm.git] / helm / software / components / acic_content / termAcicContent.ml
index a25730e4d1fa0aed8e2279694d2d60d3a7d7deb7..7948f2654ac51aa29cc79d13f12bbb3dd6a71534 100644 (file)
@@ -66,7 +66,6 @@ let constructor_of_inductive_type uri i j =
     fst (List.nth (constructors_of_inductive_type uri i) (j-1))
   with Not_found -> assert false)
 
-let hide_coercions = ref true;;
 
 let ast_of_acic0 term_info acic k =
   let k = k term_info in
@@ -123,7 +122,7 @@ let ast_of_acic0 term_info acic k =
     | Cic.AAppl (aid,(Cic.AMutInd _ as he::tl as args))
     | Cic.AAppl (aid,(Cic.AMutConstruct _ as he::tl as args)) ->
        if CoercGraph.is_a_coercion (Deannotate.deannotate_term he) &&
-          !hide_coercions
+          !Acic2content.hide_coercions
        then
         let rec last =
          function