let uris =
Constr.UriManagerSet.fold
(fun u acc ->
- prerr_endline ("processing "^(UriManager.string_of_uri u));
+ debug_print (lazy ("processing "^(UriManager.string_of_uri u)));
let set_for_sigmatch =
Constr.UriManagerSet.remove u all_constants_closed in
if LibraryObjects.is_eq_URI (UriManager.strip_xpointer u) then
(* equality has a special treatment *)
- (prerr_endline "special treatment";
+ (debug_print (lazy "special treatment");
let tfe =
Constr.SetSet.elements (types_for_equality metasenv goal)
in
List.fold_left
(fun acc l ->
let tyl = Constr.UriManagerSet.elements l in
- prerr_endline ("tyl: "^(String.concat "\n"
- (List.map UriManager.string_of_uri tyl)));
+ debug_print (lazy ("tyl: "^(String.concat "\n"
+ (List.map UriManager.string_of_uri tyl))));
let set_for_sigmatch =
Constr.UriManagerSet.diff set_for_sigmatch l in
let uris =
acc @ uris)
acc tfe)
else
- (prerr_endline "normal treatment";
+ (debug_print (lazy "normal treatment");
let uris =
sigmatch ~dbd ~facts:false ~where:`Statement
(Some (u,[]),set_for_sigmatch)