Derive.Deriver.DeriveMBench
Description
Put benchmark functions in a separate module, just in case cross-module makes a difference.
runRefCountdown :: Int -> (Int, Int) Source #
newtype State Source #
Constructors
Fields
Defined in Derive.Deriver.DeriveMBench
Methods
showsPrec :: Int -> State -> ShowS #
show :: State -> String #
showList :: [State] -> ShowS #
(==) :: State -> State -> Bool #
(/=) :: State -> State -> Bool #
data Error Source #
showsPrec :: Int -> Error -> ShowS #
show :: Error -> String #
showList :: [Error] -> ShowS #
type Deriver = DeriveM.Deriver State Error Source #
run :: Deriver Int -> Int -> (Int, Int) Source #
countdown :: Deriver Int Source #
countdownThrow :: Deriver Int Source #