]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_engine/grafiteTypes.ml
New debugging switch in the interface.
[helm.git] / matita / components / grafite_engine / grafiteTypes.ml
index 06cf9b9687d5a43c6cf96bf0b3129e717cc3c586..e3086b2d7b18ff9457483f30965dff30ccaa7a9c 100644 (file)
@@ -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)