| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Summoner.ProjectData
- data ProjectData = ProjectData {
- repo :: Text
 - owner :: Text
 - description :: Text
 - nm :: Text
 - email :: Text
 - year :: Text
 - category :: Text
 - license :: Text
 - licenseText :: Text
 - github :: Bool
 - travis :: Bool
 - appVey :: Bool
 - script :: Bool
 - isLib :: Bool
 - isExe :: Bool
 - test :: Bool
 - bench :: Bool
 - testedVersions :: [GhcVer]
 - base :: Text
 - prelude :: Maybe CustomPrelude
 - extensions :: [Text]
 
 - data GhcVer
 - supportedGhcVers :: [GhcVer]
 - parseGhcVer :: Text -> Maybe GhcVer
 - showGhcVer :: GhcVer -> Text
 - latestLts :: GhcVer -> Text
 - baseNopreludeVer :: GhcVer -> Text
 - data Decision
 - data CustomPrelude = Prelude {}
 - data Answer
 - yesOrNo :: Text -> Maybe Answer
 
Documentation
data ProjectData Source #
Data needed for project creation.
Constructors
| ProjectData | |
Fields 
  | |
Instances
Represents some selected set of GHC versions.
supportedGhcVers :: [GhcVer] Source #
Supported by summoner GHC versions for project templates.
latestLts :: GhcVer -> Text Source #
Returns latest known LTS resolver for all GHC versions except default one.
baseNopreludeVer :: GhcVer -> Text Source #
Used for detecting the user decision during CLI input.
data CustomPrelude Source #
Instances