Distribution.Types.Benchmark.Lens

Cabal-2.1.0.0: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.Types.Benchmark.Lens

Synopsis

- data Benchmark
- benchmarkName :: Lens' Benchmark UnqualComponentName
- benchmarkInterface :: Lens' Benchmark BenchmarkInterface
- benchmarkBuildInfo :: Lens' Benchmark BuildInfo

# Documentation

data Benchmark Source #

A "benchmark" stanza in a cabal file.

Instances

Eq Benchmark # |
Instance details Methods (==) :: Benchmark -> Benchmark -> Bool # (/=) :: Benchmark -> Benchmark -> Bool #
Data Benchmark # |
Instance details Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Benchmark -> c Benchmark Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Benchmark Source # toConstr :: Benchmark -> Constr Source # dataTypeOf :: Benchmark -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Benchmark) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Benchmark) Source # gmapT :: (forall b. Data b => b -> b) -> Benchmark -> Benchmark Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Benchmark -> r Source # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Benchmark -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Benchmark -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Benchmark -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Benchmark -> m Benchmark Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Benchmark -> m Benchmark Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Benchmark -> m Benchmark Source #
Read Benchmark # |
Instance details Methods readsPrec :: Int -> ReadS Benchmark Source # readList :: ReadS [Benchmark] Source # readPrec :: ReadPrec Benchmark Source # readListPrec :: ReadPrec [Benchmark] Source #
Show Benchmark # |
Instance details Methods showsPrec :: Int -> Benchmark -> ShowS Source # show :: Benchmark -> String Source # showList :: [Benchmark] -> ShowS Source #
Generic Benchmark # |
Instance details Associated Types type Rep Benchmark :: * -> * Source # Methods from :: Benchmark -> Rep Benchmark x Source # to :: Rep Benchmark x -> Benchmark Source #
Semigroup Benchmark # |
Instance details Methods (<>) :: Benchmark -> Benchmark -> Benchmark Source # sconcat :: NonEmpty Benchmark -> Benchmark Source # stimes :: Integral b => b -> Benchmark -> Benchmark Source #
Monoid Benchmark # |
Instance details Methods mempty :: Benchmark Source # mappend :: Benchmark -> Benchmark -> Benchmark Source # mconcat :: [Benchmark] -> Benchmark Source #
NFData Benchmark # |
Instance details Methods rnf :: Benchmark -> () Source #
Binary Benchmark # |
Instance details Methods put :: Benchmark -> Put Source # get :: Get Benchmark Source # putList :: [Benchmark] -> Put Source #
HasBuildInfo Benchmark # |
Instance details Methods buildInfo :: Lens' Benchmark BuildInfo Source # buildable :: Lens' Benchmark Bool Source # buildTools :: Lens' Benchmark [LegacyExeDependency] Source # buildToolDepends :: Lens' Benchmark [ExeDependency] Source # cppOptions :: Lens' Benchmark [String] Source # asmOptions :: Lens' Benchmark [String] Source # cmmOptions :: Lens' Benchmark [String] Source # ccOptions :: Lens' Benchmark [String] Source # cxxOptions :: Lens' Benchmark [String] Source # ldOptions :: Lens' Benchmark [String] Source # pkgconfigDepends :: Lens' Benchmark [PkgconfigDependency] Source # frameworks :: Lens' Benchmark [String] Source # extraFrameworkDirs :: Lens' Benchmark [String] Source # asmSources :: Lens' Benchmark [FilePath] Source # cmmSources :: Lens' Benchmark [FilePath] Source # cSources :: Lens' Benchmark [FilePath] Source # cxxSources :: Lens' Benchmark [FilePath] Source # jsSources :: Lens' Benchmark [FilePath] Source # hsSourceDirs :: Lens' Benchmark [FilePath] Source # otherModules :: Lens' Benchmark [ModuleName] Source # virtualModules :: Lens' Benchmark [ModuleName] Source # autogenModules :: Lens' Benchmark [ModuleName] Source # defaultLanguage :: Lens' Benchmark (Maybe Language) Source # otherLanguages :: Lens' Benchmark [Language] Source # defaultExtensions :: Lens' Benchmark [Extension] Source # otherExtensions :: Lens' Benchmark [Extension] Source # oldExtensions :: Lens' Benchmark [Extension] Source # extraLibs :: Lens' Benchmark [String] Source # extraGHCiLibs :: Lens' Benchmark [String] Source # extraBundledLibs :: Lens' Benchmark [String] Source # extraLibFlavours :: Lens' Benchmark [String] Source # extraLibDirs :: Lens' Benchmark [String] Source # includeDirs :: Lens' Benchmark [FilePath] Source # includes :: Lens' Benchmark [FilePath] Source # installIncludes :: Lens' Benchmark [FilePath] Source # options :: Lens' Benchmark [(CompilerFlavor, [String])] Source # profOptions :: Lens' Benchmark [(CompilerFlavor, [String])] Source # sharedOptions :: Lens' Benchmark [(CompilerFlavor, [String])] Source # staticOptions :: Lens' Benchmark [(CompilerFlavor, [String])] Source # customFieldsBI :: Lens' Benchmark [(String, String)] Source # targetBuildDepends :: Lens' Benchmark [Dependency] Source # mixins :: Lens' Benchmark [Mixin] Source #
type Rep Benchmark # |
Instance details type Rep Benchmark = D1 (MetaData "Benchmark" "Distribution.Types.Benchmark" "Cabal-2.1.0.0" False) (C1 (MetaCons "Benchmark" PrefixI True) (S1 (MetaSel (Just "benchmarkName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UnqualComponentName) :*: (S1 (MetaSel (Just "benchmarkInterface") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BenchmarkInterface) :*: S1 (MetaSel (Just "benchmarkBuildInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BuildInfo))))

benchmarkName :: Lens' Benchmark UnqualComponentName Source #

benchmarkInterface :: Lens' Benchmark BenchmarkInterface Source #

benchmarkBuildInfo :: Lens' Benchmark BuildInfo Source #