definition: |
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: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
Is the argument the name of an executable file? |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_) |-> _} |
name: |
isExecutable |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
String -> Prelude.IO Prelude.Bool |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
reducible on all ground data terms |