git.iko.soy/distributed-process
on master help sign in
Fix docstring for `register`.
1861943Mathieu Boespflug
src/Control/Distributed/Process/Internal/Primitives.hs+3−5
@@ -1025,11 +1025,9 @@ say string = do
1025-- Registry --
1025-- Registry --
1026--------------------------------------------------------------------------------
1026--------------------------------------------------------------------------------
1027
1027
1028−-- | Register a process with the local registry (asynchronous).
1028+-- | Register a process with the local registry (synchronous). The name must not
1029−-- This version will wait until a response is gotten from the
1030−-- management process. The name must not already be registered.
1031−-- The process need not be on this node.
1029+-- already be registered. The process need not be on this node. A bad
1032−-- A bad registration will result in a 'ProcessRegistrationException'
1030+-- registration will result in a 'ProcessRegistrationException'
1033--
1031--
1034-- The process to be registered does not have to be local itself.
1032-- The process to be registered does not have to be local itself.
1035register :: String -> ProcessId -> Process ()
1033register :: String -> ProcessId -> Process ()