git.iko.soy/distributed-process
on master help sign in
Fix comments
077ebd7Edsko de Vries
distributed-process/src/Control/Distributed/Process.hs+11−11
@@ -213,17 +213,17 @@ linkProcess = undefined
213
213
214-- | The different kinds of monitoring available between processes.
214-- | The different kinds of monitoring available between processes.
215data MonitorAction =
215data MonitorAction =
216− -- ^ MaMonitor means that the monitor process will be sent a
216+ -- MaMonitor means that the monitor process will be sent a
217 -- ProcessMonitorException message when the monitee terminates for any
217 -- ProcessMonitorException message when the monitee terminates for any
218 -- reason.
218 -- reason.
219 MaMonitor
219 MaMonitor
220− -- ^ MaLink means that the monitor process will receive an asynchronous
220+ -- MaLink means that the monitor process will receive an asynchronous
221 -- exception of type ProcessMonitorException when the monitee terminates
221 -- exception of type ProcessMonitorException when the monitee terminates
222 -- for any reason
222 -- for any reason
223 | MaLink
223 | MaLink
224− -- ^ MaLinkError means that the monitor process will receive an
224+ -- MaLinkError means that the monitor process will receive an asynchronous
225− -- asynchronous exception of type ProcessMonitorException when the monitee
225+ -- exception of type ProcessMonitorException when the monitee terminates
226− -- terminates abnormally
226+ -- abnormally
227 | MaLinkError
227 | MaLinkError
228 deriving (Typeable, Show, Ord, Eq)
228 deriving (Typeable, Show, Ord, Eq)
229
229
@@ -239,17 +239,17 @@ data ProcessMonitorException = ProcessMonitorException ProcessId SignalReason
239-- | Part of the notification system of process monitoring, indicating why the
239-- | Part of the notification system of process monitoring, indicating why the
240-- monitor is being notified.
240-- monitor is being notified.
241data SignalReason =
241data SignalReason =
242− -- ^ the monitee terminated normally
242+ -- the monitee terminated normally
243 SrNormal
243 SrNormal
244− -- ^ the monitee terminated with an uncaught exception, which is given as a
244+ -- the monitee terminated with an uncaught exception, which is given as a
245 -- string
245 -- string
246 | SrException String
246 | SrException String
247− -- ^ the monitee is believed to have ended or be inaccessible, as the node
247+ -- the monitee is believed to have ended or be inaccessible, as the node on
248− -- on which its running is not responding to pings. This may indicate a
248+ -- which its running is not responding to pings. This may indicate a
249 -- network bisection or that the remote node has crashed.
249 -- network bisection or that the remote node has crashed.
250 | SrNoPing
250 | SrNoPing
251− -- ^ SrInvalid: the monitee was not running at the time of the attempt to
251+ -- the monitee was not running at the time of the attempt to establish
252− -- establish monitoring
252+ -- monitoring
253 | SrInvalid
253 | SrInvalid
254 deriving (Typeable,Show)
254 deriving (Typeable,Show)
255
255