stack-2.15.3: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Types.ComponentUtils

Description

A module providing a type representing the name of an 'unqualified' component and related helper functions.

Synopsis

Documentation

newtype StackUnqualCompName Source #

Type representing the name of an 'unqualified' component (that is, the component can be any sort - a (unnamed) main library or sub-library, an executable, etc. ).

The corresponding The Cabal-syntax type is UnqualComponentName.

Constructors

StackUnqualCompName 

Instances

Instances details
Data StackUnqualCompName Source # 
Instance details

Defined in Stack.Types.ComponentUtils

Methods

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

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

toConstr :: StackUnqualCompName -> Constr #

dataTypeOf :: StackUnqualCompName -> DataType #

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

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

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

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

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

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

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

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

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

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

IsString StackUnqualCompName Source # 
Instance details

Defined in Stack.Types.ComponentUtils

Generic StackUnqualCompName Source # 
Instance details

Defined in Stack.Types.ComponentUtils

Associated Types

type Rep StackUnqualCompName :: Type -> Type #

Read StackUnqualCompName Source # 
Instance details

Defined in Stack.Types.ComponentUtils

Show StackUnqualCompName Source # 
Instance details

Defined in Stack.Types.ComponentUtils

NFData StackUnqualCompName Source # 
Instance details

Defined in Stack.Types.ComponentUtils

Methods

rnf :: StackUnqualCompName -> () #

Eq StackUnqualCompName Source # 
Instance details

Defined in Stack.Types.ComponentUtils

Ord StackUnqualCompName Source # 
Instance details

Defined in Stack.Types.ComponentUtils

Hashable StackUnqualCompName Source # 
Instance details

Defined in Stack.Types.ComponentUtils

type Rep StackUnqualCompName Source # 
Instance details

Defined in Stack.Types.ComponentUtils

type Rep StackUnqualCompName = D1 ('MetaData "StackUnqualCompName" "Stack.Types.ComponentUtils" "stack-2.15.3-IiMra1A9vP4fPzeIsQ44c" 'True) (C1 ('MetaCons "StackUnqualCompName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unqualCompToText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))