hedgehog-1.2: Release with confidence.
Safe Haskell None
Language Haskell2010

Hedgehog.Internal.Queue

Synopsis

Documentation

newtype TaskIndex Source #

Constructors

TaskIndex Int

Instances

Instances details
Enum TaskIndex Source #
Instance details

Defined in Hedgehog.Internal.Queue

Eq TaskIndex Source #
Instance details

Defined in Hedgehog.Internal.Queue

Num TaskIndex Source #
Instance details

Defined in Hedgehog.Internal.Queue

Ord TaskIndex Source #
Instance details

Defined in Hedgehog.Internal.Queue

runTasks :: WorkerCount -> [a] -> ( TasksRemaining -> TaskIndex -> a -> IO b) -> (b -> IO ()) -> (b -> IO ()) -> (b -> IO c) -> IO [c] Source #

updateNumCapabilities :: WorkerCount -> IO () Source #

Update the number of capabilities but never set it lower than it already is.