CurryInfo: cpns-3.0.0 / Network.CPNS.Config.getCPNSD

definition:
 
getCPNSD :: IO String
getCPNSD = do
  let cpnsbin = packageExecutable
  exbin <- doesFileExist cpnsbin
  if exbin
    then return cpnsbin
    else error "CPNS demon not found in path! Install it by: cypm install cpns"
demand:
 no demanded arguments
deterministic:
 deterministic operation
documentation:
 
Returns the executable of the CPNS demon.
Raises an error if the executable does not exist.
failfree:
 ()
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {() |-> _}
name:
 getCPNSD
precedence:
 no precedence defined
result-values:
 _
signature:
 Prelude.IO String
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 reducible on all ground data terms