Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data DependencyMap
- toDepMap :: [ Dependency ] -> DependencyMap
- fromDepMap :: DependencyMap -> [ Dependency ]
- constrainBy :: DependencyMap -> DependencyMap -> DependencyMap
Documentation
data DependencyMap Source #
A map of dependencies. Newtyped since the default monoid instance is not
appropriate. The monoid instance uses
intersectVersionRanges
.
Instances
Read DependencyMap Source # | |
Defined in Distribution.Types.DependencyMap readsPrec :: Int -> ReadS DependencyMap Source # readList :: ReadS [ DependencyMap ] Source # readPrec :: ReadPrec DependencyMap Source # readListPrec :: ReadPrec [ DependencyMap ] Source # |
|
Show DependencyMap Source # | |
Defined in Distribution.Types.DependencyMap |
|
Semigroup DependencyMap Source # | |
Defined in Distribution.Types.DependencyMap (<>) :: DependencyMap -> DependencyMap -> DependencyMap Source # sconcat :: NonEmpty DependencyMap -> DependencyMap Source # stimes :: Integral b => b -> DependencyMap -> DependencyMap Source # |
|
Monoid DependencyMap Source # | |
Defined in Distribution.Types.DependencyMap mempty :: DependencyMap Source # mappend :: DependencyMap -> DependencyMap -> DependencyMap Source # mconcat :: [ DependencyMap ] -> DependencyMap Source # |
toDepMap :: [ Dependency ] -> DependencyMap Source #
fromDepMap :: DependencyMap -> [ Dependency ] Source #
:: DependencyMap |
Input map |
-> DependencyMap |
Extra constraints |
-> DependencyMap |