Copyright | (c) Sergey Vinokurov 2022 |
---|---|
License | Apache-2.0 (see LICENSE) |
Maintainer | serg.foo@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
newtype Iterations Source #
Instances
Arbitrary Iterations Source # | |
Defined in TestUtils arbitrary :: Gen Iterations # shrink :: Iterations -> [Iterations] # | |
Show Iterations Source # | |
Defined in TestUtils showsPrec :: Int -> Iterations -> ShowS # show :: Iterations -> String # showList :: [Iterations] -> ShowS # | |
Eq Iterations Source # | |
Defined in TestUtils (==) :: Iterations -> Iterations -> Bool # (/=) :: Iterations -> Iterations -> Bool # |
callN :: Applicative m => Iterations -> m a -> m () Source #
Thread | |
|
Instances
Arbitrary Thread Source # | |
Generic Thread Source # | |
Show Thread Source # | |
Eq Thread Source # | |
type Rep Thread Source # | |
Defined in TestUtils type Rep Thread = D1 ('MetaData "Thread" "TestUtils" "atomic-counter-0.1.2.2-6Bl71cUxp9zHJkYogM2exY-test-utils" 'False) (C1 ('MetaCons "Thread" 'PrefixI 'True) (S1 ('MetaSel ('Just "tDelay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Delay) :*: (S1 ('MetaSel ('Just "tIncrement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "tIterations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Iterations)))) |
spawnAndCall :: Traversable f => f b -> IO a -> (a -> b -> IO ()) -> IO a Source #