mockcat-0.5.2.0: Mock library for test in Haskell.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.MockCat.Cons

Documentation

data a :> b infixr 8 Source #

Constructors

a :> b infixr 8 

Instances

Instances details
(Show a, Show b) => Show (a :> b) Source # 
Instance details

Defined in Test.MockCat.Cons

Methods

showsPrec :: Int -> (a :> b) -> ShowS #

show :: (a :> b) -> String #

showList :: [a :> b] -> ShowS #

(Eq a, Eq b) => Eq (a :> b) Source # 
Instance details

Defined in Test.MockCat.Cons

Methods

(==) :: (a :> b) -> (a :> b) -> Bool #

(/=) :: (a :> b) -> (a :> b) -> Bool #

ParamDivider (Param a :> Param r) (Param a) (Param r) Source # 
Instance details

Defined in Test.MockCat.ParamDivider

Methods

args :: (Param a :> Param r) -> Param a Source #

return :: (Param a :> Param r) -> Param r Source #

(Show a, Eq a) => MockBuilder (Param a :> Param r) (a -> r) (Param a) Source # 
Instance details

Defined in Test.MockCat.Mock

Methods

build :: MonadIO m => Maybe MockName -> (Param a :> Param r) -> m (Mock (a -> r) (Param a)) Source #

ParamDivider (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> (Param i :> Param r))))))))) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> Param i)))))))) (Param r) Source # 
Instance details

Defined in Test.MockCat.ParamDivider

Methods

args :: (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> (Param i :> Param r))))))))) -> Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> Param i))))))) Source #

return :: (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> (Param i :> Param r))))))))) -> Param r Source #

ParamDivider (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> Param r)))))))) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> Param h))))))) (Param r) Source # 
Instance details

Defined in Test.MockCat.ParamDivider

Methods

args :: (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> Param r)))))))) -> Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> Param h)))))) Source #

return :: (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> Param r)))))))) -> Param r Source #

ParamDivider (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> Param r))))))) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> Param g)))))) (Param r) Source # 
Instance details

Defined in Test.MockCat.ParamDivider

Methods

args :: (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> Param r))))))) -> Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> Param g))))) Source #

return :: (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> Param r))))))) -> Param r Source #

ParamDivider (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> Param r)))))) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> Param f))))) (Param r) Source # 
Instance details

Defined in Test.MockCat.ParamDivider

Methods

args :: (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> Param r)))))) -> Param a :> (Param b :> (Param c :> (Param d :> (Param e :> Param f)))) Source #

return :: (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> Param r)))))) -> Param r Source #

ParamDivider (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> Param r))))) (Param a :> (Param b :> (Param c :> (Param d :> Param e)))) (Param r) Source # 
Instance details

Defined in Test.MockCat.ParamDivider

Methods

args :: (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> Param r))))) -> Param a :> (Param b :> (Param c :> (Param d :> Param e))) Source #

return :: (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> Param r))))) -> Param r Source #

ParamDivider (Param a :> (Param b :> (Param c :> (Param d :> Param r)))) (Param a :> (Param b :> (Param c :> Param d))) (Param r) Source # 
Instance details

Defined in Test.MockCat.ParamDivider

Methods

args :: (Param a :> (Param b :> (Param c :> (Param d :> Param r)))) -> Param a :> (Param b :> (Param c :> Param d)) Source #

return :: (Param a :> (Param b :> (Param c :> (Param d :> Param r)))) -> Param r Source #

ParamDivider (Param a :> (Param b :> (Param c :> Param r))) (Param a :> (Param b :> Param c)) (Param r) Source # 
Instance details

Defined in Test.MockCat.ParamDivider

Methods

args :: (Param a :> (Param b :> (Param c :> Param r))) -> Param a :> (Param b :> Param c) Source #

return :: (Param a :> (Param b :> (Param c :> Param r))) -> Param r Source #

ParamDivider (Param a :> (Param b :> Param r)) (Param a :> Param b) (Param r) Source # 
Instance details

Defined in Test.MockCat.ParamDivider

Methods

args :: (Param a :> (Param b :> Param r)) -> Param a :> Param b Source #

return :: (Param a :> (Param b :> Param r)) -> Param r Source #

(Show a, Eq a, Show b, Eq b, Show c, Eq c, Show d, Eq d, Show e, Eq e, Show f, Eq f, Show g, Eq g, Show h, Eq h, Show i, Eq i) => MockBuilder (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> (Param i :> Param r))))))))) (a -> b -> c -> d -> e -> f -> g -> h -> i -> r) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> Param i)))))))) Source # 
Instance details

Defined in Test.MockCat.Mock

Methods

build :: MonadIO m => Maybe MockName -> (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> (Param i :> Param r))))))))) -> m (Mock (a -> b -> c -> d -> e -> f -> g -> h -> i -> r) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> Param i))))))))) Source #

(Show a, Eq a, Show b, Eq b, Show c, Eq c, Show d, Eq d, Show e, Eq e, Show f, Eq f, Show g, Eq g, Show h, Eq h) => MockBuilder (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> Param r)))))))) (a -> b -> c -> d -> e -> f -> g -> h -> r) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> Param h))))))) Source # 
Instance details

Defined in Test.MockCat.Mock

Methods

build :: MonadIO m => Maybe MockName -> (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> (Param h :> Param r)))))))) -> m (Mock (a -> b -> c -> d -> e -> f -> g -> h -> r) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> Param h)))))))) Source #

(Show a, Eq a, Show b, Eq b, Show c, Eq c, Show d, Eq d, Show e, Eq e, Show f, Eq f, Show g, Eq g) => MockBuilder (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> Param r))))))) (a -> b -> c -> d -> e -> f -> g -> r) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> Param g)))))) Source # 
Instance details

Defined in Test.MockCat.Mock

Methods

build :: MonadIO m => Maybe MockName -> (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> (Param g :> Param r))))))) -> m (Mock (a -> b -> c -> d -> e -> f -> g -> r) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> Param g))))))) Source #

(Show a, Eq a, Show b, Eq b, Show c, Eq c, Show d, Eq d, Show e, Eq e, Show f, Eq f) => MockBuilder (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> Param r)))))) (a -> b -> c -> d -> e -> f -> r) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> Param f))))) Source # 
Instance details

Defined in Test.MockCat.Mock

Methods

build :: MonadIO m => Maybe MockName -> (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> (Param f :> Param r)))))) -> m (Mock (a -> b -> c -> d -> e -> f -> r) (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> Param f)))))) Source #

(Show a, Eq a, Show b, Eq b, Show c, Eq c, Show d, Eq d, Show e, Eq e) => MockBuilder (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> Param r))))) (a -> b -> c -> d -> e -> r) (Param a :> (Param b :> (Param c :> (Param d :> Param e)))) Source # 
Instance details

Defined in Test.MockCat.Mock

Methods

build :: MonadIO m => Maybe MockName -> (Param a :> (Param b :> (Param c :> (Param d :> (Param e :> Param r))))) -> m (Mock (a -> b -> c -> d -> e -> r) (Param a :> (Param b :> (Param c :> (Param d :> Param e))))) Source #

(Show a, Eq a, Show b, Eq b, Show c, Eq c, Show d, Eq d) => MockBuilder (Param a :> (Param b :> (Param c :> (Param d :> Param r)))) (a -> b -> c -> d -> r) (Param a :> (Param b :> (Param c :> Param d))) Source # 
Instance details

Defined in Test.MockCat.Mock

Methods

build :: MonadIO m => Maybe MockName -> (Param a :> (Param b :> (Param c :> (Param d :> Param r)))) -> m (Mock (a -> b -> c -> d -> r) (Param a :> (Param b :> (Param c :> Param d)))) Source #

(Show a, Eq a, Show b, Eq b, Show c, Eq c) => MockBuilder (Param a :> (Param b :> (Param c :> Param r))) (a -> b -> c -> r) (Param a :> (Param b :> Param c)) Source # 
Instance details

Defined in Test.MockCat.Mock

Methods

build :: MonadIO m => Maybe MockName -> (Param a :> (Param b :> (Param c :> Param r))) -> m (Mock (a -> b -> c -> r) (Param a :> (Param b :> Param c))) Source #

(Show a, Eq a, Show b, Eq b) => MockBuilder (Param a :> (Param b :> Param r)) (a -> b -> r) (Param a :> Param b) Source # 
Instance details

Defined in Test.MockCat.Mock

Methods

build :: MonadIO m => Maybe MockName -> (Param a :> (Param b :> Param r)) -> m (Mock (a -> b -> r) (Param a :> Param b)) Source #