X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Facic_content%2FcicNotationPp.ml;h=4d68dadf9f682e89743593f00bcc0a2322494247;hb=b91dfc5e2b00e6b0b4cb81109192bb2b825055a1;hp=29898eb13ace83196d7340d8f10ff653dc170cc6;hpb=3e1e59644a24ed855a7f21bf9eab76f96577fd17;p=helm.git diff --git a/helm/software/components/acic_content/cicNotationPp.ml b/helm/software/components/acic_content/cicNotationPp.ml index 29898eb13..4d68dadf9 100644 --- a/helm/software/components/acic_content/cicNotationPp.ml +++ b/helm/software/components/acic_content/cicNotationPp.ml @@ -153,6 +153,7 @@ let rec pp_term ?(pp_parens = true) t = | Ast.Sort `Prop -> "Prop" | Ast.Sort (`Type _) -> "Type" | Ast.Sort (`CProp _)-> "CProp" + | Ast.Sort (`NType s)-> "Type[" ^ s ^ "]" | Ast.Symbol (name, _) -> "'" ^ name | Ast.UserInput -> "" @@ -226,6 +227,10 @@ and pp_layout = function sprintf "\\MSTYLE %s [%s]" (String.concat " " (List.map (fun (k,v) -> k^"="^v) l)) (String.concat " " (List.map pp_term terms)) + | Ast.Mpadded (l,terms) -> + sprintf "\\MSTYLE %s [%s]" + (String.concat " " (List.map (fun (k,v) -> k^"="^v) l)) + (String.concat " " (List.map pp_term terms)) and pp_magic = function | Ast.List0 (t, sep_opt) ->