Cabal-2.2.0.0: 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 Source # 
Instance details
Data ForeignLibType Source # 
Instance details

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

Read ForeignLibType Source # 
Instance details
Show ForeignLibType Source # 
Instance details
Generic ForeignLibType Source # 
Instance details

Associated Types

type Rep ForeignLibType :: * -> * #

Semigroup ForeignLibType Source # 
Instance details
Monoid ForeignLibType Source # 
Instance details
Binary ForeignLibType Source # 
Instance details
NFData ForeignLibType Source # 
Instance details

Methods

rnf :: ForeignLibType -> () #

Pretty ForeignLibType Source # 
Instance details
Parsec ForeignLibType Source # 
Instance details
Text ForeignLibType Source # 
Instance details
type Rep ForeignLibType Source # 
Instance details
type Rep ForeignLibType = D1 (MetaData "ForeignLibType" "Distribution.Types.ForeignLibType" "Cabal-2.2.0.0-inplace" False) (C1 (MetaCons "ForeignLibNativeShared" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "ForeignLibNativeStatic" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "ForeignLibTypeUnknown" PrefixI False) (U1 :: * -> *)))