]> matita.cs.unibo.it Git - helm.git/blob - oCicTypeChecker.ml
396144a5d3c9b499dd7fb6829e282292e5a0a16b
[helm.git] / oCicTypeChecker.ml
1
2 let typecheck_obj uri obj =
3   try 
4     NCicTypeChecker.typecheck_obj (HExtlib.list_last (OCic2NCic.convert_obj uri
5     obj)); true
6   with 
7     | NCicTypeChecker.TypeCheckerFailure _
8     | NCicTypeChecker.AssertFailure _ -> false
9