git.iko.soy/distributed-process
on master help sign in
Relax upper bounds in dependencies.
33bf088Facundo Domínguez
benchmarks/Channels.hs+2−1
@@ -36,6 +36,7 @@ initialProcess "CLIENT" = do
36main :: IO ()
36main :: IO ()
37main = do
37main = do
38 [role, host, port] <- getArgs
38 [role, host, port] <- getArgs
39− Right transport <- createTransport host port defaultTCPParameters
39+ Right transport <- createTransport
40+ host port (\sn -> (host, port)) defaultTCPParameters
40 node <- newLocalNode transport initRemoteTable
41 node <- newLocalNode transport initRemoteTable
41 runProcess node $ initialProcess role
42 runProcess node $ initialProcess role
benchmarks/Latency.hs+2−1
@@ -31,6 +31,7 @@ initialProcess "CLIENT" = do
31main :: IO ()
31main :: IO ()
32main = do
32main = do
33 [role, host, port] <- getArgs
33 [role, host, port] <- getArgs
34− Right transport <- createTransport host port defaultTCPParameters
34+ Right transport <- createTransport
35+ host port (\sn -> (host, sn)) defaultTCPParameters
35 node <- newLocalNode transport initRemoteTable
36 node <- newLocalNode transport initRemoteTable
36 runProcess node $ initialProcess role
37 runProcess node $ initialProcess role
benchmarks/ProcessRing.hs+2−1
@@ -110,7 +110,8 @@ main = do
110 argv <- getArgs
110 argv <- getArgs
111 (opt, _) <- parseArgv argv
111 (opt, _) <- parseArgv argv
112 putStrLn $ "options: " ++ (show opt)
112 putStrLn $ "options: " ++ (show opt)
113− Right transport <- createTransport "127.0.0.1" "8090" defaultTCPParameters
113+ Right transport <- createTransport
114+ "127.0.0.1" "8090" (\sn -> ("127.0.0.1", sn)) defaultTCPParameters
114 node <- newLocalNode transport initRemoteTable
115 node <- newLocalNode transport initRemoteTable
115 catch (void $ runProcess node $ initialProcess opt)
116 catch (void $ runProcess node $ initialProcess opt)
116 (\(e :: SomeException) -> putStrLn $ "ERROR: " ++ (show e))
117 (\(e :: SomeException) -> putStrLn $ "ERROR: " ++ (show e))
benchmarks/Spawns.hs+2−1
@@ -42,6 +42,7 @@ initialProcess "CLIENT" = do
42main :: IO ()
42main :: IO ()
43main = do
43main = do
44 [role, host, port] <- getArgs
44 [role, host, port] <- getArgs
45− Right transport <- createTransport host port defaultTCPParameters
45+ Right transport <- createTransport
46+ host port (\sn -> (host, sn)) defaultTCPParameters
46 node <- newLocalNode transport initRemoteTable
47 node <- newLocalNode transport initRemoteTable
47 runProcess node $ initialProcess role
48 runProcess node $ initialProcess role
benchmarks/Throughput.hs+2−1
@@ -67,6 +67,7 @@ initialProcess "CLIENT" = do
67main :: IO ()
67main :: IO ()
68main = do
68main = do
69 [role, host, port] <- getArgs
69 [role, host, port] <- getArgs
70− Right transport <- createTransport host port defaultTCPParameters
70+ Right transport <- createTransport
71+ host port (\sn -> (host, sn)) defaultTCPParameters
71 node <- newLocalNode transport initRemoteTable
72 node <- newLocalNode transport initRemoteTable
72 runProcess node $ initialProcess role
73 runProcess node $ initialProcess role
distributed-process.cabal+6−6
@@ -52,7 +52,7 @@ Library
52 bytestring >= 0.9 && < 0.11,
52 bytestring >= 0.9 && < 0.11,
53 random >= 1.0 && < 1.2,
53 random >= 1.0 && < 1.2,
54 distributed-static >= 0.2 && < 0.4,
54 distributed-static >= 0.2 && < 0.4,
55− rank1dynamic >= 0.1 && < 0.4,
55+ rank1dynamic >= 0.1 && < 0.5,
56 syb >= 0.3 && < 0.8,
56 syb >= 0.3 && < 0.8,
57 exceptions >= 0.5,
57 exceptions >= 0.5,
58 containers >= 0.5 && < 0.6,
58 containers >= 0.5 && < 0.6,
@@ -121,7 +121,7 @@ benchmark distributed-process-throughput
121 Type: exitcode-stdio-1.0
121 Type: exitcode-stdio-1.0
122 Build-Depends: base >= 4.6 && < 5,
122 Build-Depends: base >= 4.6 && < 5,
123 distributed-process,
123 distributed-process,
124− network-transport-tcp >= 0.3 && < 0.6,
124+ network-transport-tcp >= 0.3 && < 0.7,
125 bytestring >= 0.9 && < 0.11,
125 bytestring >= 0.9 && < 0.11,
126 binary >= 0.6.3 && < 0.9
126 binary >= 0.6.3 && < 0.9
127 Main-Is: benchmarks/Throughput.hs
127 Main-Is: benchmarks/Throughput.hs
@@ -131,7 +131,7 @@ benchmark distributed-process-latency
131 Type: exitcode-stdio-1.0
131 Type: exitcode-stdio-1.0
132 Build-Depends: base >= 4.6 && < 5,
132 Build-Depends: base >= 4.6 && < 5,
133 distributed-process,
133 distributed-process,
134− network-transport-tcp >= 0.3 && < 0.6,
134+ network-transport-tcp >= 0.3 && < 0.7,
135 bytestring >= 0.9 && < 0.11,
135 bytestring >= 0.9 && < 0.11,
136 binary >= 0.6.3 && < 0.9
136 binary >= 0.6.3 && < 0.9
137 Main-Is: benchmarks/Latency.hs
137 Main-Is: benchmarks/Latency.hs
@@ -141,7 +141,7 @@ benchmark distributed-process-channels
141 Type: exitcode-stdio-1.0
141 Type: exitcode-stdio-1.0
142 Build-Depends: base >= 4.6 && < 5,
142 Build-Depends: base >= 4.6 && < 5,
143 distributed-process,
143 distributed-process,
144− network-transport-tcp >= 0.3 && < 0.6,
144+ network-transport-tcp >= 0.3 && < 0.7,
145 bytestring >= 0.9 && < 0.11,
145 bytestring >= 0.9 && < 0.11,
146 binary >= 0.6.3 && < 0.9
146 binary >= 0.6.3 && < 0.9
147 Main-Is: benchmarks/Channels.hs
147 Main-Is: benchmarks/Channels.hs
@@ -151,7 +151,7 @@ benchmark distributed-process-spawns
151 Type: exitcode-stdio-1.0
151 Type: exitcode-stdio-1.0
152 Build-Depends: base >= 4.6 && < 5,
152 Build-Depends: base >= 4.6 && < 5,
153 distributed-process,
153 distributed-process,
154− network-transport-tcp >= 0.3 && < 0.6,
154+ network-transport-tcp >= 0.3 && < 0.7,
155 bytestring >= 0.9 && < 0.11,
155 bytestring >= 0.9 && < 0.11,
156 binary >= 0.6.3 && < 0.9
156 binary >= 0.6.3 && < 0.9
157 Main-Is: benchmarks/Spawns.hs
157 Main-Is: benchmarks/Spawns.hs
@@ -161,7 +161,7 @@ benchmark distributed-process-ring
161 Type: exitcode-stdio-1.0
161 Type: exitcode-stdio-1.0
162 Build-Depends: base >= 4.6 && < 5,
162 Build-Depends: base >= 4.6 && < 5,
163 distributed-process,
163 distributed-process,
164− network-transport-tcp >= 0.3 && < 0.6,
164+ network-transport-tcp >= 0.3 && < 0.7,
165 bytestring >= 0.9 && < 0.11,
165 bytestring >= 0.9 && < 0.11,
166 binary >= 0.6.3 && < 0.9
166 binary >= 0.6.3 && < 0.9
167 Main-Is: benchmarks/ProcessRing.hs
167 Main-Is: benchmarks/ProcessRing.hs