Distribution.Types.LibraryVisibility

Cabal-3.5.0.0: A framework for packaging Haskell software

Safe Haskell | Safe-Inferred
Language | Haskell2010

Distribution.Types.LibraryVisibility

Synopsis

- data LibraryVisibility
  - = LibraryVisibilityPublic
  - | LibraryVisibilityPrivate

# Documentation

data LibraryVisibility Source #

Multi-lib visibility

Since: Cabal-3.0.0.0

Constructors

LibraryVisibilityPublic | Can be depenendent from other packages
LibraryVisibilityPrivate | Internal library, default

#### Instances

Instances details

Parsec LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods parsec :: CabalParsing m => m LibraryVisibility Source #
Pretty LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods pretty :: LibraryVisibility -> Doc Source # prettyVersioned :: CabalSpecVersion -> LibraryVisibility -> Doc Source #
Structured LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods structure :: Proxy LibraryVisibility -> Structure Source # structureHash' :: Tagged LibraryVisibility MD5
Data LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LibraryVisibility -> c LibraryVisibility Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LibraryVisibility Source # toConstr :: LibraryVisibility -> Constr Source # dataTypeOf :: LibraryVisibility -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LibraryVisibility) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LibraryVisibility) Source # gmapT :: (forall b. Data b => b -> b) -> LibraryVisibility -> LibraryVisibility Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LibraryVisibility -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LibraryVisibility -> r Source # gmapQ :: (forall d. Data d => d -> u) -> LibraryVisibility -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> LibraryVisibility -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> LibraryVisibility -> m LibraryVisibility Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LibraryVisibility -> m LibraryVisibility Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LibraryVisibility -> m LibraryVisibility Source #
Monoid LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods mempty :: LibraryVisibility Source # mappend :: LibraryVisibility -> LibraryVisibility -> LibraryVisibility Source # mconcat :: [LibraryVisibility] -> LibraryVisibility Source #
Semigroup LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods (<>) :: LibraryVisibility -> LibraryVisibility -> LibraryVisibility Source # sconcat :: NonEmpty LibraryVisibility -> LibraryVisibility Source # stimes :: Integral b => b -> LibraryVisibility -> LibraryVisibility Source #
Generic LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Associated Types type Rep LibraryVisibility :: Type -> Type Source # Methods from :: LibraryVisibility -> Rep LibraryVisibility x Source # to :: Rep LibraryVisibility x -> LibraryVisibility Source #
Read LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods readsPrec :: Int -> ReadS LibraryVisibility Source # readList :: ReadS [LibraryVisibility] Source # readPrec :: ReadPrec LibraryVisibility Source # readListPrec :: ReadPrec [LibraryVisibility] Source #
Show LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods showsPrec :: Int -> LibraryVisibility -> ShowS Source # show :: LibraryVisibility -> String Source # showList :: [LibraryVisibility] -> ShowS Source #
Binary LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods put :: LibraryVisibility -> Put Source # get :: Get LibraryVisibility Source # putList :: [LibraryVisibility] -> Put Source #
NFData LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods rnf :: LibraryVisibility -> () Source #
Eq LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility Methods (==) :: LibraryVisibility -> LibraryVisibility -> Bool # (/=) :: LibraryVisibility -> LibraryVisibility -> Bool #
type Rep LibraryVisibility # |
Instance details Defined in Distribution.Types.LibraryVisibility type Rep LibraryVisibility = D1 ('MetaData "LibraryVisibility" "Distribution.Types.LibraryVisibility" "Cabal-3.5.0.0" 'False) (C1 ('MetaCons "LibraryVisibilityPublic" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LibraryVisibilityPrivate" 'PrefixI 'False) (U1 :: Type -> Type))