more robust -- avoid race condition wrt. Haskell output in $ISABELLE_TMP/examples/
--- 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>