Commits

Bryan O'Sullivan  committed 432f5a0

Export the new B type.

  • Participants
  • Parent commits 7936d82

Comments (0)

Files changed (3)

File Criterion.hs

     (
       Benchmarkable(..)
     , Benchmark
+    , B(..)
     , bench
     , bgroup
     , runBenchmark
 import Criterion.Measurement (getTime, runForAtLeast, secs, time_)
 import Criterion.Monad (ConfigM, getConfig, getConfigItem, doIO)
 import Criterion.Plot (plotWith, plotKDE, plotTiming)
-import Criterion.Types (Benchmarkable(..), Benchmark(..), bench, bgroup)
+import Criterion.Types (Benchmarkable(..), Benchmark(..), B(..), bench, bgroup)
 import Data.Array.Vector ((:*:)(..), concatU, lengthU, mapU)
 import Statistics.Function (createIO, minMax)
 import Statistics.KernelDensity (epanechnikovPDF)

File Criterion/Main.hs

     -- * Types
       Benchmarkable(..)
     , Benchmark
+    , B(..)
     -- * Constructing benchmarks
     , bench
     , bgroup
 import Criterion.IO (note, printError)
 import Criterion.MultiMap (singleton)
 import Criterion.Monad (doIO, withConfig)
-import Criterion.Types (Benchmarkable(..), Benchmark(..), bench, benchNames, bgroup)
+import Criterion.Types (Benchmarkable(..), Benchmark(..), B(..), bench,
+                        benchNames, bgroup)
 import Data.List (isPrefixOf, sort)
 import Data.Monoid (Monoid(..), Last(..))
 import System.Console.GetOpt

File Criterion/Types.hs

     (
       Benchmarkable(..)
     , Benchmark(..)
+    , B(..)
     , bench
     , bgroup
     , benchNames