Maintainer | Toshio Ito <debug.ito@gmail.com> |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This is an internal module. End-users should not use it.
Since: 0.2.4.0
Synopsis
- type CompilerCores = HashMap Compiler CoreBuildPlanMap
- data CoreBuildPlanMap = CoreBuildPlanMap {}
- data Compiler = Compiler {}
- data CompilerVersion
- type CompilerName = Text
- mkCompilerVersion :: [Int] -> CompilerVersion
- ghcName :: CompilerName
- parseGHCPkgVersions :: ByteString -> Either String (HashMap Compiler CoreBuildPlanMap)
- fetchGHCPkgVersions :: Manager -> IO ByteString
Types
type CompilerCores = HashMap Compiler CoreBuildPlanMap Source #
Compilers and its corresponding core packages.
data CoreBuildPlanMap Source #
Build plan of the core packages for a compiler.
Instances
Show CoreBuildPlanMap Source # | |
Defined in Staversion.Internal.BuildPlan.Core showsPrec :: Int -> CoreBuildPlanMap -> ShowS # show :: CoreBuildPlanMap -> String # showList :: [CoreBuildPlanMap] -> ShowS # | |
Eq CoreBuildPlanMap Source # | |
Defined in Staversion.Internal.BuildPlan.Core (==) :: CoreBuildPlanMap -> CoreBuildPlanMap -> Bool # (/=) :: CoreBuildPlanMap -> CoreBuildPlanMap -> Bool # | |
HasVersions CoreBuildPlanMap Source # | |
Defined in Staversion.Internal.BuildPlan.Core packageVersion :: CoreBuildPlanMap -> PackageName -> Maybe Version Source # |
A compiler with an explicit version.
Instances
Generic Compiler Source # | |
Show Compiler Source # | |
Eq Compiler Source # | |
Ord Compiler Source # | |
Defined in Staversion.Internal.BuildPlan.Core | |
Hashable Compiler Source # | |
Defined in Staversion.Internal.BuildPlan.Core | |
type Rep Compiler Source # | |
Defined in Staversion.Internal.BuildPlan.Core type Rep Compiler = D1 ('MetaData "Compiler" "Staversion.Internal.BuildPlan.Core" "staversion-0.2.4.3-HiYwYYMuN16Cz1KTEeF0F0" 'False) (C1 ('MetaCons "Compiler" 'PrefixI 'True) (S1 ('MetaSel ('Just "compilerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompilerName) :*: S1 ('MetaSel ('Just "compilerVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompilerVersion))) |
data CompilerVersion Source #
Version of a compiler
CVHead | the HEAD version |
CVNumbered Version | a numbered version. |
Instances
type CompilerName = Text Source #
Name of a compiler
Versions
mkCompilerVersion :: [Int] -> CompilerVersion Source #
Make a CVNumbered
CompilerVersion.
GHC
ghcName :: CompilerName Source #
Name of ghc.
parseGHCPkgVersions :: ByteString -> Either String (HashMap Compiler CoreBuildPlanMap) Source #
Parse the "pkg_versions.txt" file for GHC core packages.
fetchGHCPkgVersions :: Manager -> IO ByteString Source #
Fetch the "pkg_versions.txt" from the Web.