Cabal-syntax-3.12.1.0: A library for working with .cabal files

Safe Haskell | None
Language | Haskell2010

Distribution.Types.ExecutableScope

# Documentation

data ExecutableScope Source #

Constructors

ExecutablePublic |
ExecutablePrivate |

#### Instances

Instances details

Parsec ExecutableScope Source # |
Instance details Defined in Distribution.Types.ExecutableScope Methods parsec :: CabalParsing m => m ExecutableScope Source #
Pretty ExecutableScope Source # |
Instance details Defined in Distribution.Types.ExecutableScope Methods pretty :: ExecutableScope -> Doc Source # prettyVersioned :: CabalSpecVersion -> ExecutableScope -> Doc Source #
Structured ExecutableScope Source # |
Instance details Defined in Distribution.Types.ExecutableScope Methods structure :: Proxy ExecutableScope -> Structure Source # structureHash' :: Tagged ExecutableScope MD5
Binary ExecutableScope Source # |
Instance details Defined in Distribution.Types.ExecutableScope Methods put :: ExecutableScope -> Put Source # get :: Get ExecutableScope Source # putList :: [ExecutableScope] -> Put Source #
NFData ExecutableScope Source # |
Instance details Defined in Distribution.Types.ExecutableScope Methods rnf :: ExecutableScope -> () Source #
Monoid ExecutableScope Source # | `mempty` = `ExecutablePublic`
Instance details Defined in Distribution.Types.ExecutableScope Methods mempty :: ExecutableScope # mappend :: ExecutableScope -> ExecutableScope -> ExecutableScope # mconcat :: [ExecutableScope] -> ExecutableScope #
Semigroup ExecutableScope Source # | `Any` like semigroup, where `ExecutablePrivate` is 'Any True'
Instance details Defined in Distribution.Types.ExecutableScope Methods (<>) :: ExecutableScope -> ExecutableScope -> ExecutableScope # sconcat :: NonEmpty ExecutableScope -> ExecutableScope # stimes :: Integral b => b -> ExecutableScope -> ExecutableScope #
Data ExecutableScope Source # |

Instance details

Defined in Distribution.Types.ExecutableScope

Methods

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

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

toConstr :: ExecutableScope -> Constr #

dataTypeOf :: ExecutableScope -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ExecutableScope Source # |

Instance details

Defined in Distribution.Types.ExecutableScope

Associated Types

type Rep ExecutableScope |
Instance details Defined in Distribution.Types.ExecutableScope type Rep ExecutableScope = D1 ('MetaData "ExecutableScope" "Distribution.Types.ExecutableScope" "Cabal-syntax-3.12.1.0-5c0e" 'False) (C1 ('MetaCons "ExecutablePublic" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ExecutablePrivate" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: ExecutableScope -> Rep ExecutableScope x #

to :: Rep ExecutableScope x -> ExecutableScope #

Read ExecutableScope Source # |
Instance details Defined in Distribution.Types.ExecutableScope Methods readsPrec :: Int -> ReadS ExecutableScope # readList :: ReadS [ExecutableScope] # readPrec :: ReadPrec ExecutableScope # readListPrec :: ReadPrec [ExecutableScope] #
Show ExecutableScope Source # |
Instance details Defined in Distribution.Types.ExecutableScope Methods showsPrec :: Int -> ExecutableScope -> ShowS # show :: ExecutableScope -> String # showList :: [ExecutableScope] -> ShowS #
Eq ExecutableScope Source # |
Instance details Defined in Distribution.Types.ExecutableScope Methods (==) :: ExecutableScope -> ExecutableScope -> Bool # (/=) :: ExecutableScope -> ExecutableScope -> Bool #
Ord ExecutableScope Source # |

Instance details

Defined in Distribution.Types.ExecutableScope

Methods

compare :: ExecutableScope -> ExecutableScope -> Ordering #

(<) :: ExecutableScope -> ExecutableScope -> Bool #

(<=) :: ExecutableScope -> ExecutableScope -> Bool #

(>) :: ExecutableScope -> ExecutableScope -> Bool #

(>=) :: ExecutableScope -> ExecutableScope -> Bool #

max :: ExecutableScope -> ExecutableScope -> ExecutableScope #

min :: ExecutableScope -> ExecutableScope -> ExecutableScope #

type Rep ExecutableScope Source # |
Instance details Defined in Distribution.Types.ExecutableScope type Rep ExecutableScope = D1 ('MetaData "ExecutableScope" "Distribution.Types.ExecutableScope" "Cabal-syntax-3.12.1.0-5c0e" 'False) (C1 ('MetaCons "ExecutablePublic" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ExecutablePrivate" 'PrefixI 'False) (U1 :: Type -> Type))