]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/automath/autOutput.ml
some interfaces improved
[helm.git] / helm / software / lambda-delta / automath / autOutput.ml
index 2f1a4d91c4715ab67b739c40f6b5e1348a734c48..f9467d63e1d10468505e5bb40a95a7fd8bee02ba 100644 (file)
@@ -50,7 +50,7 @@ let rec count_term f c = function
       let f c = count_term f c t in
       count_term f c w
 
-let count_item f c = function
+let count_unit f c = function
    | A.Section _        ->
       f {c with sections = succ c.sections}
    | A.Context _        ->
@@ -68,14 +68,14 @@ let count_item f c = function
 
 let print_counters f c =
    let terms = c.sorts + c.grefs + c.appls + c.absts in
-   let items = c.sections + c.contexts + c.blocks + c.decls + c.defs in
+   let units = c.sections + c.contexts + c.blocks + c.decls + c.defs in
    L.warn (P.sprintf "  Automath representation summary");
-   L.warn (P.sprintf "    Total book items:         %7u" items);
-   L.warn (P.sprintf "      Section items:          %7u" c.sections);
-   L.warn (P.sprintf "      Context items:          %7u" c.contexts);
-   L.warn (P.sprintf "      Block items:            %7u" c.blocks);
-   L.warn (P.sprintf "      Declaration items:      %7u" c.decls);
-   L.warn (P.sprintf "      Definition items:       %7u" c.defs);
+   L.warn (P.sprintf "    Total book units:         %7u" units);
+   L.warn (P.sprintf "      Section units:          %7u" c.sections);
+   L.warn (P.sprintf "      Context units:          %7u" c.contexts);
+   L.warn (P.sprintf "      Block units:            %7u" c.blocks);
+   L.warn (P.sprintf "      Declaration units:      %7u" c.decls);
+   L.warn (P.sprintf "      Definition units:       %7u" c.defs);
    L.warn (P.sprintf "    Total Parameter items:    %7u" c.pars);
    L.warn (P.sprintf "      Application items:      %7u" c.pars);
    L.warn (P.sprintf "    Total term items:         %7u" terms);