Skip to content

Commit b3d4be2

Browse files
committed
Depend on io-classes-1.5
1 parent 29935ea commit b3d4be2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-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 2024-07-01T07:04:30Z
14+
hackage.haskell.org 2024-08-27T18:06:30Z
1515
, cardano-haskell-packages 2024-06-27T10:53:24Z
1616

1717
packages: ./typed-protocols

typed-protocols-cborg/src/Network/TypedProtocol/Codec/CBOR.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module Network.TypedProtocol.Codec.CBOR
1111
) where
1212

1313
import Control.Monad.Class.MonadST (MonadST (..))
14-
import Control.Monad.ST
14+
import Control.Monad.ST hiding (stToIO)
1515

1616
import qualified Codec.CBOR.Decoding as CBOR (Decoder)
1717
import qualified Codec.CBOR.Encoding as CBOR (Encoding)
@@ -68,7 +68,7 @@ mkCodecCborStrictBS cborMsgEncode cborMsgDecode =
6868
:: (forall s. CBOR.Decoder s a)
6969
-> m (DecodeStep BS.ByteString DeserialiseFailure m a)
7070
convertCborDecoder cborDecode =
71-
withLiftST (convertCborDecoderBS cborDecode)
71+
convertCborDecoderBS cborDecode stToIO
7272

7373
convertCborDecoderBS
7474
:: forall s m a. Functor m
@@ -123,7 +123,7 @@ mkCodecCborLazyBS cborMsgEncode cborMsgDecode =
123123
:: (forall s. CBOR.Decoder s a)
124124
-> m (DecodeStep LBS.ByteString CBOR.DeserialiseFailure m a)
125125
convertCborDecoder cborDecode =
126-
withLiftST (convertCborDecoderLBS cborDecode)
126+
convertCborDecoderLBS cborDecode stToIO
127127

128128
convertCborDecoderLBS
129129
:: forall s m a. Monad m

typed-protocols-cborg/typed-protocols-cborg.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ library
2222
bytestring >=0.10 && <0.13,
2323
cborg >=0.2.1 && <0.3,
2424

25-
io-classes,
25+
io-classes ^>=1.5,
2626
typed-protocols
2727

2828
hs-source-dirs: src

typed-protocols/typed-protocols.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ library
3232
, TypeOperators
3333
, BangPatterns
3434
build-depends: base,
35-
io-classes >= 1.0 && < 1.4
35+
io-classes >= 1.0 && < 1.6
3636

3737
hs-source-dirs: src
3838
default-language: Haskell2010

0 commit comments

Comments
 (0)