Cabal-2.4.0.1: A framework for packaging Haskell software

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
Eq ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

Data ForeignLibType # 
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 :: (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 #

Read ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

Show ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

Generic ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

Associated Types

type Rep ForeignLibType :: Type -> Type Source #

Semigroup ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

Monoid ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

Binary ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

NFData ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

Methods

rnf :: ForeignLibType -> () Source #

Pretty ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

Parsec ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

Text ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

type Rep ForeignLibType # 
Instance details

Defined in Distribution.Types.ForeignLibType

type Rep ForeignLibType = D1 (MetaData "ForeignLibType" "Distribution.Types.ForeignLibType" "Cabal-2.4.0.1" 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)))