Distribution.Types.ForeignLib.Lens

Cabal-2.2.0.1: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.Types.ForeignLib.Lens

Synopsis

- data ForeignLib
- foreignLibName :: Lens' ForeignLib UnqualComponentName
- foreignLibType :: Lens' ForeignLib ForeignLibType
- foreignLibOptions :: Lens' ForeignLib [ForeignLibOption]
- foreignLibBuildInfo :: Lens' ForeignLib BuildInfo
- foreignLibVersionInfo :: Lens' ForeignLib (Maybe LibVersionInfo)
- foreignLibVersionLinux :: Lens' ForeignLib (Maybe Version)
- foreignLibModDefFile :: Lens' ForeignLib [FilePath]

# Documentation

data ForeignLib #

A foreign library stanza is like a library stanza, except that the built code is intended for consumption by a non-Haskell client.

Instances

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

foreignLibName :: Lens' ForeignLib UnqualComponentName #

foreignLibType :: Lens' ForeignLib ForeignLibType #

foreignLibOptions :: Lens' ForeignLib [ForeignLibOption] #

foreignLibBuildInfo :: Lens' ForeignLib BuildInfo #

foreignLibVersionInfo :: Lens' ForeignLib (Maybe LibVersionInfo) #

foreignLibVersionLinux :: Lens' ForeignLib (Maybe Version) #

foreignLibModDefFile :: Lens' ForeignLib [FilePath] #