src/Tools/Code/code_haskell.ML
changeset 40745 1dabcda202c3
parent 40743 b07a0dbc8a38
child 40804 c8494f89690a
--- a/src/Tools/Code/code_haskell.ML	Sat Nov 27 15:36:35 2010 +0100
+++ b/src/Tools/Code/code_haskell.ML	Sat Nov 27 15:45:20 2010 +0100
@@ -353,7 +353,7 @@
             val _ = File.check destination;
             val filepath = (Path.append destination o Path.ext "hs" o Path.explode o implode
               o separate "/" o Long_Name.explode) module_name;
-            val _ = Isabelle_System.mkdir_leaf (Path.dir filepath);
+            val _ = Isabelle_System.mkdir (Path.dir filepath);
           in
             (File.write filepath o format [] width o Pretty.chunks2)
               [str "{-# OPTIONS_GHC -fglasgow-exts #-}", content]