]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/acic_procedural/proceduralTeX.ml
cicInspect: node count fixed
[helm.git] / helm / software / components / acic_procedural / proceduralTeX.ml
index f4f25c402f813d6e5c545cdcfd13ffcacd6edfa0..55be4ddb3f17168c41c8bb3ee7c8ab17b0cf77dc 100644 (file)
@@ -168,9 +168,11 @@ let rec xat frm = function
    | C.AImplicit _                    -> assert false
    | C.AAppl (_, [])                  -> assert false
 
-and xats frm vs =
-   let map v = F.fprintf frm "{%a}" xat v in
-   List.iter map vs
+and xats frm = function
+   | [] -> F.fprintf frm "{}"
+   | vs -> 
+      let map v = F.fprintf frm "{%a}" xat v in
+      List.iter map vs
 
 in
 xat frm t