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