packages feed

test-sandbox 0.0.1.9 → 0.0.1.10

raw patch · 2 files changed

+10/−2 lines, 2 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Test.Sandbox.Internals: StMSandbox :: StM (ExceptT String (ReaderT SandboxStateRef IO)) a -> StMSandbox a
+ Test.Sandbox.Internals: newtype StMSandbox a
+ Test.Sandbox.Internals: runStMSandbox :: StMSandbox a -> StM (ExceptT String (ReaderT SandboxStateRef IO)) a

Files

src/Test/Sandbox/Internals.hs view
@@ -51,8 +51,16 @@     runSB :: ExceptT String (ReaderT SandboxStateRef IO) a   } deriving (Applicative, Functor, Monad, MonadBase IO, MonadError String, MonadReader (IORef SandboxState), MonadIO) +#if MIN_VERSION_monad_control(1,0,0)+newtype StMSandbox a = StMSandbox { runStMSandbox :: StM (ExceptT String (ReaderT SandboxStateRef IO)) a }+#endif+ instance MonadBaseControl IO Sandbox where+#if MIN_VERSION_monad_control(1,0,0)+  type StM Sandbox a = StMSandbox a+#else   newtype StM Sandbox a = StMSandbox { runStMSandbox :: StM (ExceptT String (ReaderT SandboxStateRef IO)) a }+#endif   liftBaseWith f = Sandbox . liftBaseWith $ \run -> f (liftM StMSandbox . run . runSB)   restoreM = Sandbox . restoreM . runStMSandbox 
test-sandbox.cabal view
@@ -1,5 +1,5 @@ Name:           test-sandbox-Version:        0.0.1.9+Version:        0.0.1.10 Cabal-Version:  >= 1.14 Category:       Testing Synopsis:       Sandbox for system tests@@ -25,7 +25,7 @@ Source-Repository this     Type:       git     Location:   https://github.com/gree/haskell-test-sandbox-    Tag:        test-sandbox_0.0.1.9+    Tag:        test-sandbox_0.0.1.10  Library     Exposed-modules:    Test.Sandbox