Skip to content

Commit adc4f2e

Browse files
committed
Use io-sim-1.0.0.0
* typed-protocols-0.1.0.4 * typed-protocols-examples-0.2.0.0
1 parent 8bdc6b1 commit adc4f2e

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository cardano-haskell-packages
1111
d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee
1212

1313
index-state:
14-
, hackage.haskell.org 2023-03-31T12:01:49Z
14+
, hackage.haskell.org 2023-04-18T18:49:22Z
1515
, cardano-haskell-packages 2023-03-30T14:04:13Z
1616

1717
packages: ./typed-protocols

typed-protocols-examples/src/Network/TypedProtocol/Channel.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module Network.TypedProtocol.Channel
2121
import Control.Concurrent.Class.MonadSTM
2222
import Control.Monad ((>=>))
2323
import Control.Monad.Class.MonadSay
24-
import Control.Monad.Class.MonadTimer
24+
import Control.Monad.Class.MonadTimer.SI
2525
import qualified Data.ByteString as BS
2626
import qualified Data.ByteString.Lazy as LBS
2727
import Data.ByteString.Lazy.Internal (smallChunkSize)
@@ -243,7 +243,7 @@ channelEffect beforeSend afterRecv Channel{send, recv} =
243243
-- This is intended for testing, as a crude approximation of network delays.
244244
-- More accurate models along these lines are of course possible.
245245
--
246-
delayChannel :: MonadTimer m
246+
delayChannel :: MonadDelay m
247247
=> DiffTime
248248
-> Channel m a
249249
-> Channel m a

typed-protocols-examples/typed-protocols-examples.cabal

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: typed-protocols-examples
2-
version: 0.1.0.1
2+
version: 0.2.0.0
33
synopsis: Examples and tests for the typed-protocols framework
44
-- description:
55
license: Apache-2.0
@@ -50,6 +50,7 @@ library
5050
serialise,
5151
contra-tracer,
5252
io-classes,
53+
si-timers,
5354
time,
5455
typed-protocols,
5556
typed-protocols-cborg
@@ -79,6 +80,7 @@ test-suite test
7980
, typed-protocols-examples
8081
, io-classes
8182
, io-sim
83+
, si-timers
8284
, QuickCheck
8385
, tasty
8486
, tasty-quickcheck

typed-protocols/typed-protocols.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: typed-protocols
3-
version: 0.1.0.3
3+
version: 0.1.0.4
44
synopsis: A framework for strongly typed protocols
55
-- description:
66
license: Apache-2.0
@@ -34,7 +34,7 @@ library
3434
, TypeOperators
3535
, BangPatterns
3636
build-depends: base,
37-
io-classes >= 0.3 && < 0.6
37+
io-classes ^>= 1.0
3838

3939
hs-source-dirs: src
4040
default-language: Haskell2010

0 commit comments

Comments
 (0)