Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Criterion/Main/Options.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@ import Data.Version (showVersion)
import GHC.Generics (Generic)
import Options.Applicative
import Options.Applicative.Help (Chunk(..))
import Options.Applicative.Help.Pretty ((.$.))
import Options.Applicative.Help.Pretty ((.$.), Doc, text)
import Options.Applicative.Types
import Paths_criterion (version)
import Prelude ()
import Prelude.Compat
import Statistics.Types (mkCL,cl95)
import Text.PrettyPrint.ANSI.Leijen (Doc, text)
import qualified Data.Map as M

-- | How to match a benchmark name.
Expand Down Expand Up @@ -243,5 +242,5 @@ versionInfo = "built with criterion " <> showVersion version
regressionHelp :: Chunk Doc
regressionHelp =
fmap (text "Regression metrics (for use with --regress):" .$.) $
tabulate [(text n,text d) | (n,(_,d)) <- map f measureKeys]
tabulate [(text n, text d) | (n,(_,d)) <- map f measureKeys]
where f k = (k, measureAccessors M.! k)
1 change: 0 additions & 1 deletion criterion.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ library
-- TODO: Eventually, we should bump the lower version bounds to >=2 so that
-- we can remove some CPP in Criterion.Report. See #247.
aeson >= 1 && < 2.2,
ansi-wl-pprint >= 0.6.7.2,
base >= 4.5 && < 5,
base-compat-batteries >= 0.10 && < 0.13,
binary >= 0.5.1.0,
Expand Down