]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/automath/autOutput.ml
* Fixed a couple of glitches in ndestruct
[helm.git] / helm / software / lambda-delta / automath / autOutput.ml
index 5b415ff0bee1be9416d4568fa9c91842843c3a68..d692005bd27826f8d43026f277ca8ea26e0fe658 100644 (file)
@@ -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 _        ->