n2o 0.11.0 → 0.11.1
raw patch · 2 files changed
+1/−3 lines, 2 filesdep −bertPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies removed: bert
API changes (from Hackage documentation)
- Network.N2O.Core: ask :: Monad m => N2OT state m state
+ Network.N2O.Core: ask :: (Monad m) => N2OT state m state
- Network.N2O.Core: get :: Binary bin => ByteString -> N2O f a (Maybe bin)
+ Network.N2O.Core: get :: (Binary bin) => ByteString -> N2O f a (Maybe bin)
- Network.N2O.Core: mkCx :: forall (f :: Type -> Type) a. Context f a
+ Network.N2O.Core: mkCx :: () => Context f a
- Network.N2O.Core: put :: Binary bin => ByteString -> bin -> N2O f a ()
+ Network.N2O.Core: put :: (Binary bin) => ByteString -> bin -> N2O f a ()
- Network.N2O.Types: Context :: (Event a -> N2O f a (Result a)) -> Req -> [Context f a -> Context f a] -> [Proto f a] -> (ByteString -> Maybe a) -> (a -> ByteString) -> Map ByteString ByteString -> Context (f :: * -> *) a
+ Network.N2O.Types: Context :: Event a -> N2O f a (Result a) -> Req -> [Context f a -> Context f a] -> [Proto f a] -> ByteString -> Maybe a -> a -> ByteString -> Map ByteString ByteString -> Context a
- Network.N2O.Types: N2OT :: (state -> m a) -> N2OT state m a
+ Network.N2O.Types: N2OT :: state -> m a -> N2OT state m a
- Network.N2O.Types: Proto :: (f a -> N2O f a (Result (f a))) -> Proto f a
+ Network.N2O.Types: Proto :: f a -> N2O f a (Result (f a)) -> Proto f a
- Network.N2O.Types: [cxDePickle] :: Context (f :: * -> *) a -> ByteString -> Maybe a
+ Network.N2O.Types: [cxDePickle] :: Context a -> ByteString -> Maybe a
- Network.N2O.Types: [cxHandler] :: Context (f :: * -> *) a -> Event a -> N2O f a (Result a)
+ Network.N2O.Types: [cxHandler] :: Context a -> Event a -> N2O f a (Result a)
- Network.N2O.Types: [cxMiddleware] :: Context (f :: * -> *) a -> [Context f a -> Context f a]
+ Network.N2O.Types: [cxMiddleware] :: Context a -> [Context f a -> Context f a]
- Network.N2O.Types: [cxPickle] :: Context (f :: * -> *) a -> a -> ByteString
+ Network.N2O.Types: [cxPickle] :: Context a -> a -> ByteString
- Network.N2O.Types: [cxProtos] :: Context (f :: * -> *) a -> [Proto f a]
+ Network.N2O.Types: [cxProtos] :: Context a -> [Proto f a]
- Network.N2O.Types: [cxReq] :: Context (f :: * -> *) a -> Req
+ Network.N2O.Types: [cxReq] :: Context a -> Req
- Network.N2O.Types: [cxState] :: Context (f :: * -> *) a -> Map ByteString ByteString
+ Network.N2O.Types: [cxState] :: Context a -> Map ByteString ByteString
Files
- n2o.cabal +1/−2
- test/Spec.hs +0/−1
n2o.cabal view
@@ -1,5 +1,5 @@ name: n2o -version: 0.11.0 +version: 0.11.1 description: Embeddable Application Protocol Loop homepage: https://github.com/xafizoff/n2o#readme bug-reports: https://github.com/xafizoff/n2o/issues @@ -45,6 +45,5 @@ build-depends: base >=4.7 && < 5 , n2o - , bert , hspec default-language: Haskell2010
test/Spec.hs view
@@ -2,7 +2,6 @@ import Test.Hspec import Network.N2O.Core -import Data.BERT main :: IO () main = return ()