CurryInfo: runcurry-3.0.0 / RunCurry.isExecutable

definition: Info
 
isExecutable :: String -> IO Bool
isExecutable fname = do
  fexists <- doesFileExist fname
  if fexists
    then do ec <- system $ "test -x " ++ fname
            return (ec==0)
    else return False            
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Is the argument the name of an executable file?
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> _}
name: Info
 isExecutable
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> Prelude.IO Prelude.Bool
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms