git.iko.soy/distributed-process
on master help sign in
Fix closeAll references.
commit97557fbaf6a5f17789f405e7c0d57d0d8aa6b4b8 authorNicolas Wu <nick@well-typed.com> dateMon 23 Jan 2012, 21:47 (15 years ago) parent624ed40
2 files changed+2−2
examples/DemoTransport.hs+1−1 network-transport/src/Network/Transport.hs+1−1
examples/DemoTransport.hs+1−1
@@ -30,7 +30,7 @@ demo0 = do
3030 mapM_ (\n -> send sourceEnd [BS.pack ("hello " ++ show n)]) [1 .. 10]
3131 threadDelay 100000
3232
33− closeAll targetEnd
33+ closeTargetEnd targetEnd
3434
3535-- | Check endpoint serialization and deserialization.
3636demo1 :: IO ()
network-transport/src/Network/Transport.hs+1−1
@@ -77,7 +77,7 @@ data SourceEnd = SourceEnd
7777
7878-- | A `TargetEnd` provides a `receive` function that allows messages
7979-- to be received from the corresponding `SourceEnd`s.
80−-- The `closeAll` function closes all connections to this target,
80+-- The `closeTargetEnd` function closes all connections to this target,
8181-- and all new connections will be refused.
8282data TargetEnd = TargetEnd
8383 { receive :: IO [ByteString]