staversion-0.2.4.3: What version is the package X in stackage lts-Y.ZZ?
MaintainerToshio Ito <debug.ito@gmail.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Staversion.Internal.BuildPlan.Core

Description

This is an internal module. End-users should not use it.

Since: 0.2.4.0

Synopsis

Types

type CompilerCores = HashMap Compiler CoreBuildPlanMap Source #

Compilers and its corresponding core packages.

data Compiler Source #

A compiler with an explicit version.

Instances

Instances details
Generic Compiler Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

Associated Types

type Rep Compiler :: Type -> Type #

Methods

from :: Compiler -> Rep Compiler x #

to :: Rep Compiler x -> Compiler #

Show Compiler Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

Eq Compiler Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

Ord Compiler Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

Hashable Compiler Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

Methods

hashWithSalt :: Int -> Compiler -> Int #

hash :: Compiler -> Int #

type Rep Compiler Source # 
Instance details

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

Constructors

CVHead

the HEAD version

CVNumbered Version

a numbered version.

Instances

Instances details
Generic CompilerVersion Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

Associated Types

type Rep CompilerVersion :: Type -> Type #

Show CompilerVersion Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

Eq CompilerVersion Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

Ord CompilerVersion Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

Hashable CompilerVersion Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

type Rep CompilerVersion Source # 
Instance details

Defined in Staversion.Internal.BuildPlan.Core

type Rep CompilerVersion = D1 ('MetaData "CompilerVersion" "Staversion.Internal.BuildPlan.Core" "staversion-0.2.4.3-HiYwYYMuN16Cz1KTEeF0F0" 'False) (C1 ('MetaCons "CVHead" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CVNumbered" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Version)))

type CompilerName = Text Source #

Name of a compiler

Versions

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.