X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fgrafite_engine%2FgrafiteTypes.ml;h=e3086b2d7b18ff9457483f30965dff30ccaa7a9c;hb=1ac7951d70bb5c850697643e3df303290f69bc74;hp=06cf9b9687d5a43c6cf96bf0b3129e717cc3c586;hpb=75f910c7001ba5a6abe61fc93a2731753c7ba188;p=helm.git diff --git a/matita/components/grafite_engine/grafiteTypes.ml b/matita/components/grafite_engine/grafiteTypes.ml index 06cf9b968..e3086b2d7 100644 --- a/matita/components/grafite_engine/grafiteTypes.ml +++ b/matita/components/grafite_engine/grafiteTypes.ml @@ -31,7 +31,7 @@ exception Command_error of string let command_error msg = raise (Command_error msg) -class status = fun (b : string) -> +class virtual status = fun (b : string) -> let fake_obj = NUri.uri_of_string "cic:/matita/dummy.decl",0,[],[], NCic.Constant([],"",None,NCic.Implicit `Closed,(`Provided,`Theorem,`Regular)) @@ -51,9 +51,4 @@ class status = fun (b : string) -> method set_ng_mode v = {< ng_mode = v >} end -module Serializer = - NCicLibrary.Serializer(struct - type dumpable_s = status - let get status = (status : #status :> NCicLibrary.dumpable_status) - let set (status : dumpable_s) dump_status = status#set_dumpable_status dump_status - end) +module Serializer = NCicLibrary.Serializer(struct type dumpable_s = status end)