criterion-measurement-0.1.2.0: Criterion measurement functionality and associated types

Copyright(c) 2017 Ryan Scott
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe
LanguageHaskell2010

Criterion.Measurement.Types.Internal

Description

Synopsis

Documentation

fakeEnvironment :: env Source #

A dummy environment that is passed to functions that create benchmarks from environments when no concrete environment is available.

nf' :: (b -> ()) -> (a -> b) -> a -> Int64 -> IO () Source #

Generate a function which applies an argument to a function a given number of times, reducing the result to normal form.

whnf' :: (a -> b) -> a -> Int64 -> IO () Source #

Generate a function which applies an argument to a function a given number of times.