more robust -- avoid race condition wrt. Haskell output in $ISABELLE_TMP/examples/
authorwenzelm
Wed, 31 May 2017 11:43:37 +0200
changeset 65981 e2c25346b156
parent 65980 3bec939bd808
child 65982 5b8fafde7d64
more robust -- avoid race condition wrt. Haskell output in $ISABELLE_TMP/examples/
src/Doc/Codegen/Further.thy
src/Doc/Codegen/Introduction.thy
--- a/src/Doc/Codegen/Further.thy	Tue May 30 22:39:18 2017 +0200
+++ b/src/Doc/Codegen/Further.thy	Wed May 31 11:43:37 2017 +0200
@@ -48,7 +48,7 @@
   functions Fract
     "(plus :: rat \<Rightarrow> rat \<Rightarrow> rat)" "(minus :: rat \<Rightarrow> rat \<Rightarrow> rat)"
     "(times :: rat \<Rightarrow> rat \<Rightarrow> rat)" "(divide :: rat \<Rightarrow> rat \<Rightarrow> rat)"
-  file "$ISABELLE_TMP/examples/rat.ML"
+  file "$ISABELLE_TMP/rat.ML"
 
 text \<open>
   \noindent This merely generates the referenced code to the given
--- a/src/Doc/Codegen/Introduction.thy	Tue May 30 22:39:18 2017 +0200
+++ b/src/Doc/Codegen/Introduction.thy	Wed May 31 11:43:37 2017 +0200
@@ -70,7 +70,7 @@
 text \<open>\noindent Then we can generate code e.g.~for @{text SML} as follows:\<close>
 
 export_code %quote empty dequeue enqueue in SML
-  module_name Example file "$ISABELLE_TMP/examples/example.ML"
+  module_name Example file "$ISABELLE_TMP/example.ML"
 
 text \<open>\noindent resulting in the following code:\<close>