(* $Id$ *)
-exception RefineFailure of Stdpp.location * (string Lazy.t);;
-exception Uncertain of Stdpp.location * (string Lazy.t);;
+exception RefineFailure of (Stdpp.location * string) Lazy.t;;
+exception Uncertain of (Stdpp.location * string) Lazy.t;;
exception AssertFailure of string Lazy.t;;
val typeof :
+ #NRstatus.status ->
?localise:(NCic.term -> Stdpp.location) ->
NCic.metasenv -> NCic.substitution -> NCic.context ->
NCic.term -> NCic.term option -> (* term, expected type *)
NCic.metasenv * NCic.substitution * NCic.term * NCic.term
(* menv, subst,refined term, type *)
+val typeof_obj :
+ #NRstatus.status ->
+ ?localise:(NCic.term -> Stdpp.location) ->
+ NCic.obj -> NCic.obj
+
+val debug : bool ref