CurryInfo: spicey-4.2.0 / Spicey.SpiceUp.setFileMode

definition:
setFileMode :: FileMode -> String -> IO ()
setFileMode NoExec filename = return ()
setFileMode Exec   filename = do
  system $ "chmod +x \"" ++ filename ++ "\""
  return ()
demand:
argument 1
deterministic:
deterministic operation
failfree:
(_, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({NoExec},_) |-> _ || ({Exec},_) |-> _}
name:
setFileMode
precedence:
no precedence defined
result-values:
_
signature:
FileMode -> String -> Prelude.IO ()
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
reducible on all ground data terms