| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
HWM.Domain.Dependencies
Documentation
data Dependencies Source #
Instances
| FromJSON Dependencies Source # | |
Defined in HWM.Domain.Dependencies | |
| ToJSON Dependencies Source # | |
Defined in HWM.Domain.Dependencies Methods toJSON :: Dependencies -> Value # toEncoding :: Dependencies -> Encoding # toJSONList :: [Dependencies] -> Value # toEncodingList :: [Dependencies] -> Encoding # omitField :: Dependencies -> Bool # | |
| Show Dependencies Source # | |
Defined in HWM.Domain.Dependencies Methods showsPrec :: Int -> Dependencies -> ShowS # show :: Dependencies -> String # showList :: [Dependencies] -> ShowS # | |
data Dependency Source #
Constructors
| Dependency | |
Instances
| Show Dependency Source # | |
Defined in HWM.Domain.Dependencies Methods showsPrec :: Int -> Dependency -> ShowS # show :: Dependency -> String # showList :: [Dependency] -> ShowS # | |
| Eq Dependency Source # | |
Defined in HWM.Domain.Dependencies | |
| Format Dependency Source # | |
Defined in HWM.Domain.Dependencies Methods format :: Dependency -> Text Source # | |
| Parse Dependency Source # | |
Defined in HWM.Domain.Dependencies | |
getBounds :: MonadError Issue m => PkgName -> Dependencies -> m Bounds Source #
traverseDeps :: Applicative f => (PkgName -> Bounds -> f Bounds) -> Dependencies -> f Dependencies Source #
toDependencyList :: Dependencies -> [Dependency] Source #
fromDependencyList :: [Dependency] -> Dependencies Source #
mergeDependencies :: [Dependency] -> [Dependency] Source #
normalizeDependencies :: [Dependency] -> [Dependency] Source #
externalRegistry :: [PkgName] -> [Dependency] -> Dependencies Source #
newtype DependencyGraph Source #
Constructors
| DependencyGraph (Map PkgName [PkgName]) |
Instances
| Format DependencyGraph Source # | |
Defined in HWM.Domain.Dependencies Methods format :: DependencyGraph -> Text Source # | |
sortByDependencyHierarchy :: MonadError Issue m => DependencyGraph -> [Pkg] -> m [Pkg] Source #