X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=components%2Facic_content%2FcicNotationPp.ml;h=49cefaec7db3f7f76652d9e24e9543bd4de9f495;hb=205276c80f0c39fe46bf2b9b7811b3343eb5c0d5;hp=cdc0946e6f96bd2d992984bd1043ffc3a7aa9932;hpb=40357cd58a307adfe9aa5584d4840bf665e8bcd4;p=helm.git diff --git a/components/acic_content/cicNotationPp.ml b/components/acic_content/cicNotationPp.ml index cdc0946e6..49cefaec7 100644 --- a/components/acic_content/cicNotationPp.ml +++ b/components/acic_content/cicNotationPp.ml @@ -289,8 +289,11 @@ let pp_fields fields = (if fields <> [] then "\n" else "") ^ String.concat ";\n" (List.map - (fun (name,ty,coercion) -> - " " ^ name ^ if coercion then ":>" else ": " ^ pp_term ty) fields) + (fun (name,ty,coercion,arity) -> + " " ^ name ^ + if coercion then (":" ^ + if arity > 0 then string_of_int arity else "" ^ ">") else ": " ^ + pp_term ty) fields) let pp_obj = function | Ast.Inductive (params, types) ->