Safe Haskell | None |
---|---|
Language | GHC2021 |
Stack.Types.ComponentUtils
Description
A module providing a type representing the name of an 'unqualified' component and related helper functions.
Synopsis
- newtype StackUnqualCompName = StackUnqualCompName UnqualComponentName
- unqualCompToText :: StackUnqualCompName -> Text
- unqualCompFromText :: Text -> StackUnqualCompName
- unqualCompToString :: StackUnqualCompName -> String
- unqualCompFromString :: String -> StackUnqualCompName
- emptyCompName :: StackUnqualCompName
- fromCabalName :: UnqualComponentName -> StackUnqualCompName
- toCabalName :: StackUnqualCompName -> UnqualComponentName
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 UnqualComponentName |