CurryInfo: coosy-3.1.0 / Observe.ensureCoosyLogDir

definition: Info
 
ensureCoosyLogDir :: IO ()
ensureCoosyLogDir = do
  logexist <- doesDirectoryExist logDir
  unless logexist $ do
    putStrLn $ ">>> Creating new directory '"++logDir++"' for Coosy log files"
    createDirectory logDir
    writeFile logFileClear ""
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Create the directory for storing Coosy log files if it does not exist.
failfree: Info
 ()
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {() |-> _}
name: Info
 ensureCoosyLogDir
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.IO ()
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms