@@ -104,7 +104,7 @@
104-- We can now define 'sendIntClosure':
104-- We can now define 'sendIntClosure':
106-- > sendIntClosure :: ProcessId -> Closure (Int -> Process ())
106-- > sendIntClosure :: ProcessId -> Closure (Int -> Process ())
107−-- > sendIntClosure pid = Closure decoder (encode pid)
107+-- > sendIntClosure pid = closure decoder (encode pid)
108-- > where
108-- > where
109-- > decoder :: Static (ByteString -> Int -> Process ())
109-- > decoder :: Static (ByteString -> Int -> Process ())
110-- > decoder = sendIntStatic `staticCompose` decodeProcessIdStatic
110-- > decoder = sendIntStatic `staticCompose` decodeProcessIdStatic
@@ -169,7 +169,7 @@
169-- so that we can define
169-- so that we can define
171-- > sendClosure :: Static (BinaryDict a) -> Process a -> Closure (a -> Process ())
171-- > sendClosure :: Static (BinaryDict a) -> Process a -> Closure (a -> Process ())
172−-- > sendClosure dict pid = Closure decoder (encode pid)
172+-- > sendClosure dict pid = closure decoder (encode pid)
173-- > where
173-- > where
174-- > decoder :: Static (ByteString -> a -> Process ())
174-- > decoder :: Static (ByteString -> a -> Process ())
175-- > decoder = (sendDictStatic `staticApply` dict) `staticCompose` decodeProcessIdStatic
175-- > decoder = (sendDictStatic `staticApply` dict) `staticCompose` decodeProcessIdStatic