X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_proof_checking%2FcicElim.ml;fp=helm%2Focaml%2Fcic_proof_checking%2FcicElim.ml;h=fb568613c943c8b3b7389d9d09d039d8e88b8046;hb=a93a94942ad58d8645af1fd94bef8fa31d9541a4;hp=e3fca907dd562f494a479333400c33ef069f08b8;hpb=6849a0b7b65075049427c27f60d19210ddb52cf5;p=helm.git diff --git a/helm/ocaml/cic_proof_checking/cicElim.ml b/helm/ocaml/cic_proof_checking/cicElim.ml index e3fca907d..fb568613c 100644 --- a/helm/ocaml/cic_proof_checking/cicElim.ml +++ b/helm/ocaml/cic_proof_checking/cicElim.ml @@ -29,7 +29,7 @@ exception Elim_failure of string exception Can_t_eliminate let debug_print = fun _ -> () -(*let debug_print = prerr_endline *) +(*let debug_print s = prerr_endline (Lazy.force s) *) let counter = ref ~-1 ;; @@ -367,16 +367,16 @@ let elim_of ?(sort = Cic.Type (CicUniv.fresh ())) uri typeno = add_params (fun b s t -> Cic.Lambda (b, s, t)) leftno ty cic in (* -debug_print (CicPp.ppterm eliminator_type); -debug_print (CicPp.ppterm eliminator_body); +debug_print (lazy (CicPp.ppterm eliminator_type)); +debug_print (lazy (CicPp.ppterm eliminator_body)); *) let eliminator_type = FreshNamesGenerator.mk_fresh_names [] [] [] eliminator_type in let eliminator_body = FreshNamesGenerator.mk_fresh_names [] [] [] eliminator_body in (* -debug_print (CicPp.ppterm eliminator_type); -debug_print (CicPp.ppterm eliminator_body); +debug_print (lazy (CicPp.ppterm eliminator_type)); +debug_print (lazy (CicPp.ppterm eliminator_body)); *) let (computed_type, ugraph) = try