Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ProjectConfig a
- isPCGlobalProject :: ProjectConfig a -> Bool
Documentation
data ProjectConfig a Source #
Project configuration information. Not every run of Stack has a true local project; see constructors below.
PCProject a | Normal run: we want a project, and have one. This comes from
either |
PCGlobalProject | No project was found when using |
PCNoProject ![PackageIdentifierRevision] | Use a no project run. This comes from |
isPCGlobalProject :: ProjectConfig a -> Bool Source #
Yields True
only if the project configuration information is for the
implicit global project.