| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Summoner.ProjectData
Synopsis
- 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]
 - cabal :: Bool
 - stack :: Bool
 
 - 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
| Show ProjectData Source # | |
Defined in Summoner.ProjectData Methods showsPrec :: Int -> ProjectData -> ShowS # show :: ProjectData -> String # showList :: [ProjectData] -> ShowS #  | |
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.
Instances
| Bounded Decision Source # | |
| Enum Decision Source # | |
Defined in Summoner.ProjectData  | |
| Eq Decision Source # | |
| Show Decision Source # | |
| Generic Decision Source # | |
| Semigroup Decision Source # | |
| Monoid Decision Source # | |
| GSemigroup Decision Source # | |
| GMonoid Decision Source # | |
| type Rep Decision Source # | |
Defined in Summoner.ProjectData  | |
data CustomPrelude Source #
Instances
| Show CustomPrelude Source # | |
Defined in Summoner.ProjectData Methods showsPrec :: Int -> CustomPrelude -> ShowS # show :: CustomPrelude -> String # showList :: [CustomPrelude] -> ShowS #  | |