File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Control/Distributed/Process Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ send them msg = do
93
93
msg
94
94
where
95
95
unsafeSendLocal :: (Serializable a ) => ProcessId -> a -> Process ()
96
- unsafeSendLocal pid msg =
97
- sendCtrlMsg Nothing $ LocalSend pid (unsafeCreateUnencodedMessage msg)
96
+ unsafeSendLocal pid msg' =
97
+ sendCtrlMsg Nothing $ LocalSend pid (unsafeCreateUnencodedMessage msg' )
98
98
99
99
-- | Send a message on a typed channel
100
100
sendChan :: Serializable a => SendPort a -> a -> Process ()
@@ -112,8 +112,8 @@ sendChan (SendPort cid) msg = do
112
112
msg
113
113
where
114
114
unsafeSendChanLocal :: (Serializable a ) => SendPortId -> a -> Process ()
115
- unsafeSendChanLocal spId msg =
116
- sendCtrlMsg Nothing $ LocalPortSend spId (unsafeCreateUnencodedMessage msg)
115
+ unsafeSendChanLocal spId msg' =
116
+ sendCtrlMsg Nothing $ LocalPortSend spId (unsafeCreateUnencodedMessage msg' )
117
117
118
118
-- | Create an unencoded @Message@ for any @Serializable@ type.
119
119
wrapMessage :: Serializable a => a -> Message
You can’t perform that action at this time.
0 commit comments