@@ -256,6 +256,11 @@ import Control.Distributed.Process.Serializable (Serializable)
256256--------------------------------------------------------------------------------
257257
258258-- | Spawn a process
259+--
260+-- For more information about 'Closure', see
261+-- "Control.Distributed.Process.Closure".
262+--
263+-- See also 'call'.
259264spawn :: NodeId -> Closure (Process ()) -> Process ProcessId
260265spawn nid proc = do
261266 us <- getSelfPid
@@ -299,8 +304,13 @@ spawnMonitor nid proc = do
299304
300305-- | Run a process remotely and wait for it to reply
301306--
302−-- We monitor the remote process; if it dies before it can send a reply, we die
303−-- too
307+-- We monitor the remote process: if it dies before it can send a reply, we die
308+-- too.
309+--
310+-- For more information about 'Static', 'SerializableDict', and 'Closure', see
311+-- "Control.Distributed.Process.Closure".
312+--
313+-- See also 'spawn'.
304314call :: Serializable a => Static (SerializableDict a) -> NodeId -> Closure (Process a) -> Process a
305315call dict nid proc = do
306316 us <- getSelfPid