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