Safe Haskell | None |
---|---|
Language | Haskell98 |
Determine whether a specific version of a Haskell package is bundled with into this particular version of the given compiler.
- builtIn :: Map PackageName VersionSplits -> CompilerFlavor -> FilePath -> PackageName -> Maybe Version
- aptCacheShowPkg :: FilePath -> String -> Either SomeException String
- aptCacheProvides :: FilePath -> String -> [(DebianVersion, [BinPkgName])]
- aptCacheDepends :: FilePath -> String -> String -> Either SomeException String
- aptCacheConflicts :: FilePath -> String -> DebianVersion -> [BinPkgName]
- aptVersions :: FilePath -> String -> [DebianVersion]
Documentation
builtIn :: Map PackageName VersionSplits -> CompilerFlavor -> FilePath -> PackageName -> Maybe Version Source
Find out what version, if any, of a cabal library is built into the newest version of haskell compiler hc in environment root. For GHC this is done by looking at what virtual packages debian package provides. I have modified the ghcjs packaging to generate the required virtual packages in the Provides line. For other compilers it maybe be unimplemented.
Utilities
aptCacheShowPkg :: FilePath -> String -> Either SomeException String Source
aptCacheProvides :: FilePath -> String -> [(DebianVersion, [BinPkgName])] Source
aptCacheDepends :: FilePath -> String -> String -> Either SomeException String Source
aptCacheConflicts :: FilePath -> String -> DebianVersion -> [BinPkgName] Source
aptVersions :: FilePath -> String -> [DebianVersion] Source