CurryInfo: cpns-3.0.0 / Network.CPNS.cpnsStatus

definition:
cpnsStatus :: IO ()
cpnsStatus = do
  (pid,meminfo,regs) <- cpnsTryGetAnswer "localhost" ShowRegistry
  putStrLn $ "CPNSD PID: " ++ show (pid :: Int)
  putStrLn $ "Memory information:\n" ++ meminfo
  putStrLn "Currently registered port names:"
  putStrLn $ unlines $ map showReg regs
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Shows all registered ports at the local CPNS demon (in its logfile).
failfree:
()
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{() |-> _}
name:
cpnsStatus
precedence:
no precedence defined
result-values:
_
signature:
Prelude.IO ()
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term