Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data NamedComponent
- renderComponent :: NamedComponent -> Text
- renderPkgComponents :: [(PackageName, NamedComponent)] -> Text
- renderPkgComponent :: (PackageName, NamedComponent) -> Text
- exeComponents :: Set NamedComponent -> Set Text
- testComponents :: Set NamedComponent -> Set Text
- benchComponents :: Set NamedComponent -> Set Text
- internalLibComponents :: Set NamedComponent -> Set Text
- isCLib :: NamedComponent -> Bool
- isCInternalLib :: NamedComponent -> Bool
- isCExe :: NamedComponent -> Bool
- isCTest :: NamedComponent -> Bool
- isCBench :: NamedComponent -> Bool
Documentation
data NamedComponent Source #
A single, fully resolved component of a package
Instances
Eq NamedComponent Source # | |
Defined in Stack.Types.NamedComponent (==) :: NamedComponent -> NamedComponent -> Bool # (/=) :: NamedComponent -> NamedComponent -> Bool # | |
Ord NamedComponent Source # | |
Defined in Stack.Types.NamedComponent compare :: NamedComponent -> NamedComponent -> Ordering # (<) :: NamedComponent -> NamedComponent -> Bool # (<=) :: NamedComponent -> NamedComponent -> Bool # (>) :: NamedComponent -> NamedComponent -> Bool # (>=) :: NamedComponent -> NamedComponent -> Bool # max :: NamedComponent -> NamedComponent -> NamedComponent # min :: NamedComponent -> NamedComponent -> NamedComponent # | |
Show NamedComponent Source # | |
Defined in Stack.Types.NamedComponent showsPrec :: Int -> NamedComponent -> ShowS # show :: NamedComponent -> String # showList :: [NamedComponent] -> ShowS # |
renderComponent :: NamedComponent -> Text Source #
renderPkgComponents :: [(PackageName, NamedComponent)] -> Text Source #
renderPkgComponent :: (PackageName, NamedComponent) -> Text Source #
exeComponents :: Set NamedComponent -> Set Text Source #
testComponents :: Set NamedComponent -> Set Text Source #
benchComponents :: Set NamedComponent -> Set Text Source #
isCLib :: NamedComponent -> Bool Source #
isCInternalLib :: NamedComponent -> Bool Source #
isCExe :: NamedComponent -> Bool Source #
isCTest :: NamedComponent -> Bool Source #
isCBench :: NamedComponent -> Bool Source #