CurryInfo: currydoc-4.0.0 / CurryDoc.Main.createDir

definition:
createDir :: String -> IO ()
createDir dir = do
  exdir <- doesDirectoryExist dir
  unless exdir $ system ("mkdir -p " ++ dir) >> return ()
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
-- create directory if not existent:
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> _}
name:
createDir
precedence:
no precedence defined
result-values:
_
signature:
String -> Prelude.IO ()
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
reducible on all ground data terms