1 type check_status = Checked | Unchecked;;
3 let hashtable = Hashtbl.create 17;;
5 let get_term_and_type_checking_info uri =
7 Hashtbl.find hashtable uri
10 let filename = Getter.get uri in
11 let term = TheoryParser.theory_of_xml filename in
12 Hashtbl.add hashtable uri (term, Unchecked) ;
18 fst (get_term_and_type_checking_info uri)
21 let is_type_checked uri =
22 match snd (get_term_and_type_checking_info uri) with
27 let set_type_checking_info uri =
28 match Hashtbl.find hashtable uri with
30 Hashtbl.remove hashtable uri ;
31 Hashtbl.add hashtable uri (term, Checked)