Cabal-3.4.1.0: A framework for packaging Haskell software
Safe HaskellSafe-Inferred
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

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 Source #

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

toConstr :: ForeignLibType -> Constr Source #

dataTypeOf :: ForeignLibType -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Monoid ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Semigroup ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Generic ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Associated Types

type Rep ForeignLibType :: Type -> Type Source #

Read ForeignLibType Source # 
Instance details

Defined in Distribution.Types.ForeignLibType

Show 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 #

Eq 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-3.4.1.0" '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)))