packages feed

websockets-simple 0.0.6 → 0.0.6.1

raw patch · 2 files changed

+4/−3 lines, 2 filesdep +transformersPVP ok

version bump matches the API change (PVP)

Dependencies added: transformers

API changes (from Hackage documentation)

Files

src/Test/WebSockets/Simple.hs view
@@ -14,7 +14,7 @@ import Control.Monad.Trans.Control (MonadBaseControl (..)) import Control.Concurrent.Async (Async, async) import Control.Concurrent.STM (atomically)-import Control.Concurrent.STM.TChan (TChan, newTChanIO, writeTChan, readTChan)+import Control.Concurrent.STM.TChan (TChan, newTChan, writeTChan, readTChan)   @@ -27,7 +27,7 @@              -> WebSocketsApp receive send m              -> m (Async (), Async (), TChan send, TChan receive) runConnected sendsSreceivesR sendsRreceivesS = do-  (sendChan, receiveChan) <- liftIO $ (,) <$> newTChanIO <*> newTChanIO+  (sendChan, receiveChan) <- liftIO $ atomically $ (,) <$> newTChan <*> newTChan    let sendToSend :: send -> m ()       sendToSend s = liftIO $ atomically $ writeTChan sendChan s
websockets-simple.cabal view
@@ -1,5 +1,5 @@ name:                websockets-simple-version:             0.0.6+version:             0.0.6.1 synopsis:            Simpler interface to the websockets api -- description: homepage:            https://github.com/athanclark/websockets-simple#readme@@ -26,6 +26,7 @@                      , exceptions                      , monad-control                      , stm+                     , transformers                      , wai-transformers                      , websockets >= 0.11   default-language:    Haskell2010