File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
src/Network/TypedProtocol/Codec Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ repository cardano-haskell-packages
1111 d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee
1212
1313index-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
1717packages : ./typed-protocols
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module Network.TypedProtocol.Codec.CBOR
1111 ) where
1212
1313import Control.Monad.Class.MonadST (MonadST (.. ))
14- import Control.Monad.ST
14+ import Control.Monad.ST hiding ( stToIO )
1515
1616import qualified Codec.CBOR.Decoding as CBOR (Decoder )
1717import 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
7373convertCborDecoderBS
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
128128convertCborDecoderLBS
129129 :: forall s m a . Monad m
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments