test-fixture-0.1.0.0: Test monadic typeclasses deterministically using hooks.

Safe HaskellSafe
LanguageHaskell2010

Control.Monad.TestFixture

Documentation

type WST w s m = RWST () w s m Source

type WS w s = WST w s Identity Source

type TestFixtureT r w s m = ReaderT (r (WST w s m)) (WST w s m) Source

unTestFixtureT :: Monad m => TestFixtureT r () s m a -> r (WST () s m) -> s -> m a Source

logTestFixtureT :: Monad m => TestFixtureT r w s m a -> r (WST w s m) -> s -> m w Source

evalTestFixtureT :: Monad m => TestFixtureT r w s m a -> r (WST w s m) -> s -> m (a, w) Source

execTestFixtureT :: Monad m => TestFixtureT r w s m a -> r (WST w s m) -> s -> m (s, w) Source

runTestFixtureT :: Monad m => TestFixtureT r w s m a -> r (WST w s m) -> s -> m (a, s, w) Source

unTestFixture :: TestFixture r () s a -> r (WS () s) -> s -> a Source

logTestFixture :: TestFixture r w s a -> r (WS w s) -> s -> w Source

evalTestFixture :: TestFixture r w s a -> r (WS w s) -> s -> (a, w) Source

execTestFixture :: TestFixture r w s a -> r (WS w s) -> s -> (s, w) Source

runTestFixture :: TestFixture r w s a -> r (WS w s) -> s -> (a, s, w) Source

arg0 :: Monoid w => (r (WS w s) -> WS w s a) -> TestFixture r w s a Source

arg1 :: Monoid w => (r (WS w s) -> a -> WS w s b) -> a -> TestFixture r w s b Source

arg2 :: Monoid w => (r (WS w s) -> a -> b -> WS w s c) -> a -> b -> TestFixture r w s c Source

arg3 :: Monoid w => (r (WS w s) -> a -> b -> c -> WS w s d) -> a -> b -> c -> TestFixture r w s d Source

arg4 :: Monoid w => (r (WS w s) -> a -> b -> c -> d -> WS w s e) -> a -> b -> c -> d -> TestFixture r w s e Source

arg5 :: Monoid w => (r (WS w s) -> a -> b -> c -> d -> e -> WS w s f) -> a -> b -> c -> d -> e -> TestFixture r w s f Source

arg6 :: Monoid w => (r (WS w s) -> a -> b -> c -> d -> e -> f -> WS w s g) -> a -> b -> c -> d -> e -> f -> TestFixture r w s g Source

arg7 :: Monoid w => (r (WS w s) -> a -> b -> c -> d -> e -> f -> g -> WS w s h) -> a -> b -> c -> d -> e -> f -> g -> TestFixture r w s h Source