X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Fautomath%2FautOutput.ml;h=d692005bd27826f8d43026f277ca8ea26e0fe658;hb=ab739c4972971725f59c52275a3257ebf524143f;hp=5b415ff0bee1be9416d4568fa9c91842843c3a68;hpb=f3cddcf163b36101158ea33b3fad368ac8c62d75;p=helm.git diff --git a/helm/software/lambda-delta/automath/autOutput.ml b/helm/software/lambda-delta/automath/autOutput.ml index 5b415ff0b..d692005bd 100644 --- a/helm/software/lambda-delta/automath/autOutput.ml +++ b/helm/software/lambda-delta/automath/autOutput.ml @@ -10,6 +10,7 @@ V_______________________________________________________________ *) module P = Printf +module C = Cps module L = Log module A = Aut module R = AutProcess @@ -40,7 +41,7 @@ let rec count_term f c = function let c = {c with grefs = succ c.grefs} in let c = {c with pars = c.pars + List.length ts} in let c = {c with xnodes = succ c.xnodes + List.length ts} in - Cps.list_fold_left f count_term c ts + C.list_fold_left f count_term c ts | A.Appl (v, t) -> let c = {c with appls = succ c.appls; xnodes = succ c.xnodes} in let f c = count_term f c t in @@ -50,7 +51,7 @@ let rec count_term f c = function let f c = count_term f c t in count_term f c w -let count_entity f c = function +let count_command f c = function | A.Section _ -> f {c with sections = succ c.sections} | A.Context _ ->