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
- data PantryBuildPlanMap
- type PantryName = Text
- pantryCompiler :: PantryBuildPlanMap -> Compiler
- pantryName :: PantryBuildPlanMap -> Maybe PantryName
- toBuildPlanMap :: CoreBuildPlanMap -> PantryBuildPlanMap -> Either String BuildPlanMap
- coresToBuildPlanMap :: CompilerCores -> PantryBuildPlanMap -> Either String BuildPlanMap
- parseBuildPlanMapYAML :: ByteString -> Either ErrorMsg PantryBuildPlanMap
- fetchBuildPlanMapYAML :: Manager -> ExactResolver -> IO ByteString
Documentation
data PantryBuildPlanMap Source #
A build plan map loaded from a Pantry YAML file. This is not a
complete BuildPlanMap
, because it implicitly refers to
CoreBuildPlanMap
. That's why its data constructor is not
exported.
Instances
type PantryName = Text Source #
Name of a pantry snapshot
toBuildPlanMap :: CoreBuildPlanMap -> PantryBuildPlanMap -> Either String BuildPlanMap Source #
Combine PantryBuildPlanMap
and CoreBuildPlanMap
to make a
complete BuildPlanMap
.
coresToBuildPlanMap :: CompilerCores -> PantryBuildPlanMap -> Either String BuildPlanMap Source #
Select a CoreBuildPlanMap
from the given map to make a complete
BuildPlanMap
from PantryBuildPlanMap
.
parseBuildPlanMapYAML :: ByteString -> Either ErrorMsg PantryBuildPlanMap Source #
Parse a YAML document for a CoreBuildPlanMap
.
fetchBuildPlanMapYAML :: Manager -> ExactResolver -> IO ByteString Source #
Fetch a Pantry build plan file from the Web.