Cabal-syntax-3.12.0.0: A library for working with .cabal files
Safe HaskellNone
LanguageHaskell2010

Distribution.Types.ForeignLibType

Synopsis

Documentation

data ForeignLibType Source #

What kind of foreign library is to be built?

Constructors

ForeignLibNativeShared

A native shared library (.so on Linux, .dylib on OSX, or .dll on Windows).

ForeignLibNativeStatic

A native static library (not currently supported.)

ForeignLibTypeUnknown 

Instances

Instances details
Parsec ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Pretty ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Structured ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Binary ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

NFData ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Methods

rnf :: ForeignLibType -> () Source #

Monoid ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Semigroup ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Data ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ForeignLibType -> c ForeignLibType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ForeignLibType #

toConstr :: ForeignLibType -> Constr #

dataTypeOf :: ForeignLibType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ForeignLibType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ForeignLibType) #

gmapT :: (forall b. Data b => b -> b) -> ForeignLibType -> ForeignLibType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ForeignLibType -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ForeignLibType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ForeignLibType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ForeignLibType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ForeignLibType -> m ForeignLibType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ForeignLibType -> m ForeignLibType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ForeignLibType -> m ForeignLibType #

Generic ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Associated Types

type Rep ForeignLibType 
Instance details

Defined in Distribution.Types.ForeignLibType

type Rep ForeignLibType = D1 ('MetaData "ForeignLibType" "Distribution.Types.ForeignLibType" "Cabal-syntax-3.12.0.0-d5d4" 'False) (C1 ('MetaCons "ForeignLibNativeShared" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ForeignLibNativeStatic" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ForeignLibTypeUnknown" 'PrefixI 'False) (U1 :: Type -> Type)))
Read ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Show ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Eq ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Ord ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

type Rep ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

type Rep ForeignLibType = D1 ('MetaData "ForeignLibType" "Distribution.Types.ForeignLibType" "Cabal-syntax-3.12.0.0-d5d4" 'False) (C1 ('MetaCons "ForeignLibNativeShared" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ForeignLibNativeStatic" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ForeignLibTypeUnknown" 'PrefixI 'False) (U1 :: Type -> Type)))