Distribution.Types.Benchmark.Lens

Cabal-2.4.0.1: 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 #

A "benchmark" stanza in a cabal file.

Instances

Eq Benchmark # |
Instance details Defined in Distribution.Types.Benchmark Methods (==) :: Benchmark -> Benchmark -> Bool # (/=) :: Benchmark -> Benchmark -> Bool #
Data Benchmark # |
Instance details Defined in Distribution.Types.Benchmark 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 Defined in Distribution.Types.Benchmark Methods readsPrec :: Int -> ReadS Benchmark Source # readList :: ReadS [Benchmark] Source # readPrec :: ReadPrec Benchmark Source # readListPrec :: ReadPrec [Benchmark] Source #
Show Benchmark # |
Instance details Defined in Distribution.Types.Benchmark Methods showsPrec :: Int -> Benchmark -> ShowS Source # show :: Benchmark -> String Source # showList :: [Benchmark] -> ShowS Source #
Generic Benchmark # |
Instance details Defined in Distribution.Types.Benchmark Associated Types type Rep Benchmark :: Type -> Type Source # Methods from :: Benchmark -> Rep Benchmark x Source # to :: Rep Benchmark x -> Benchmark Source #
Semigroup Benchmark # |
Instance details Defined in Distribution.Types.Benchmark Methods (<>) :: Benchmark -> Benchmark -> Benchmark Source # sconcat :: NonEmpty Benchmark -> Benchmark Source # stimes :: Integral b => b -> Benchmark -> Benchmark Source #
Monoid Benchmark # |
Instance details Defined in Distribution.Types.Benchmark Methods mempty :: Benchmark Source # mappend :: Benchmark -> Benchmark -> Benchmark Source # mconcat :: [Benchmark] -> Benchmark Source #
Binary Benchmark # |
Instance details Defined in Distribution.Types.Benchmark Methods put :: Benchmark -> Put Source # get :: Get Benchmark Source # putList :: [Benchmark] -> Put Source #
NFData Benchmark # |
Instance details Defined in Distribution.Types.Benchmark Methods rnf :: Benchmark -> () Source #
HasBuildInfo Benchmark # |
Instance details Defined in Distribution.Types.Benchmark Methods buildInfo :: Lens' Benchmark BuildInfo # buildable :: Lens' Benchmark Bool # buildTools :: Lens' Benchmark [LegacyExeDependency] # buildToolDepends :: Lens' Benchmark [ExeDependency] # cppOptions :: Lens' Benchmark [String] # asmOptions :: Lens' Benchmark [String] # cmmOptions :: Lens' Benchmark [String] # ccOptions :: Lens' Benchmark [String] # cxxOptions :: Lens' Benchmark [String] # ldOptions :: Lens' Benchmark [String] # pkgconfigDepends :: Lens' Benchmark [PkgconfigDependency] # frameworks :: Lens' Benchmark [String] # extraFrameworkDirs :: Lens' Benchmark [String] # asmSources :: Lens' Benchmark [FilePath] # cmmSources :: Lens' Benchmark [FilePath] # cSources :: Lens' Benchmark [FilePath] # cxxSources :: Lens' Benchmark [FilePath] # jsSources :: Lens' Benchmark [FilePath] # hsSourceDirs :: Lens' Benchmark [FilePath] # otherModules :: Lens' Benchmark [ModuleName] # virtualModules :: Lens' Benchmark [ModuleName] # autogenModules :: Lens' Benchmark [ModuleName] # defaultLanguage :: Lens' Benchmark (Maybe Language) # otherLanguages :: Lens' Benchmark [Language] # defaultExtensions :: Lens' Benchmark [Extension] # otherExtensions :: Lens' Benchmark [Extension] # oldExtensions :: Lens' Benchmark [Extension] # extraLibs :: Lens' Benchmark [String] # extraGHCiLibs :: Lens' Benchmark [String] # extraBundledLibs :: Lens' Benchmark [String] # extraLibFlavours :: Lens' Benchmark [String] # extraLibDirs :: Lens' Benchmark [String] # includeDirs :: Lens' Benchmark [FilePath] # includes :: Lens' Benchmark [FilePath] # installIncludes :: Lens' Benchmark [FilePath] # options :: Lens' Benchmark [(CompilerFlavor, [String])] # profOptions :: Lens' Benchmark [(CompilerFlavor, [String])] # sharedOptions :: Lens' Benchmark [(CompilerFlavor, [String])] # staticOptions :: Lens' Benchmark [(CompilerFlavor, [String])] # customFieldsBI :: Lens' Benchmark [(String, String)] # targetBuildDepends :: Lens' Benchmark [Dependency] # mixins :: Lens' Benchmark [Mixin] #
type Rep Benchmark # |
Instance details Defined in Distribution.Types.Benchmark type Rep Benchmark = D1 (MetaData "Benchmark" "Distribution.Types.Benchmark" "Cabal-2.4.0.1" 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 #

benchmarkInterface :: Lens' Benchmark BenchmarkInterface #

benchmarkBuildInfo :: Lens' Benchmark BuildInfo #