]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaMisc.ml
matitamake stuff:
[helm.git] / helm / matita / matitaMisc.ml
index 81f185ae83ef4e590e0409e603df1e851591e3ad..53d7bd3173f7c672abc146ec9e3e065f6cdcf2bc 100644 (file)
@@ -46,6 +46,11 @@ let input_file fname =
   close_in ic;
   Buffer.contents buf
 
+let output_file data file = 
+  let oc = open_out file in
+  output_string oc data;
+  close_out oc
+
 let is_proof_script fname = true  (** TODO Zack *)
 let is_proof_object fname = true  (** TODO Zack *)