X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Fgrafite_engine%2FgrafiteTypes.ml;h=71fd19f94b6d7289d1a7a47336d9ed05dab4914a;hb=fa0347cc0a604ba8743da9479117e1f13ab60482;hp=af819555bec8cac3bdd4f246c50a5948068bdcc2;hpb=e5141edaab98baafa31173da8164fa5d87b808c5;p=helm.git diff --git a/components/grafite_engine/grafiteTypes.ml b/components/grafite_engine/grafiteTypes.ml index af819555b..71fd19f94 100644 --- a/components/grafite_engine/grafiteTypes.ml +++ b/components/grafite_engine/grafiteTypes.ml @@ -44,17 +44,19 @@ type proof_status = (* Status in which the proof could be while it is being processed by the * engine. No status entering/exiting the engine could be in it. *) +(* REMOVE module StringMap = Map.Make (String) type option_value = | String of string | Int of int -type options = option_value StringMap.t -let no_options = StringMap.empty +*) +(* type options = option_value StringMap.t *) +(* let no_options = StringMap.empty *) type status = { moo_content_rev: GrafiteMarshal.moo; proof_status: proof_status; - options: options; +(* options: options; *) objects: UriManager.uri list; coercions: UriManager.uri list; universe:Universe.universe; @@ -137,13 +139,14 @@ let add_moo_content cmds status = GrafiteAstPp.pp_command content')); *) { status with moo_content_rev = content' } +let get_baseuri status = status.baseuri;; + +(* let get_option status name = try StringMap.find name status.options with Not_found -> raise (Option_error (name, "not found")) -let get_baseuri status = status.baseuri;; - let set_option status name value = let types = [ (* no set options defined! *) ] in let ty_and_mangler = @@ -167,6 +170,7 @@ let get_string_option status name = match get_option status name with | String s -> s | _ -> raise (Option_error (name, "not a string value")) +*) let dump_status status = HLog.message "status.aliases:\n"; @@ -178,6 +182,7 @@ let dump_status status = | Proof _ -> "proof\n" | Intermediate _ -> "Intermediate\n"); HLog.message "status.options\n"; +(* REMOVEME StringMap.iter (fun k v -> let v = match v with @@ -185,6 +190,7 @@ let dump_status status = | Int i -> string_of_int i in HLog.message (k ^ "::=" ^ v)) status.options; +*) HLog.message "status.coercions\n"; HLog.message "status.objects:\n"; List.iter