summoner-1.0.6: Tool for creating completely configured production Haskell projects.

Safe HaskellNone
LanguageHaskell2010

Summoner.ProjectData

Synopsis

Documentation

data ProjectData Source #

Data needed for project creation.

Constructors

ProjectData 

Fields

Instances
Show ProjectData Source # 
Instance details

Defined in Summoner.ProjectData

data GhcVer Source #

Represents some selected set of GHC versions.

Constructors

Ghc7103 
Ghc801 
Ghc802 
Ghc822 
Ghc843 
Instances
Bounded GhcVer Source # 
Instance details

Defined in Summoner.ProjectData

Enum GhcVer Source # 
Instance details

Defined in Summoner.ProjectData

Eq GhcVer Source # 
Instance details

Defined in Summoner.ProjectData

Methods

(==) :: GhcVer -> GhcVer -> Bool #

(/=) :: GhcVer -> GhcVer -> Bool #

Ord GhcVer Source # 
Instance details

Defined in Summoner.ProjectData

Show GhcVer Source # 
Instance details

Defined in Summoner.ProjectData

supportedGhcVers :: [GhcVer] Source #

Supported by summoner GHC versions for project templates.

parseGhcVer :: Text -> Maybe GhcVer Source #

Converts numeric dot-separated GHC version into GhcVer.

showGhcVer :: GhcVer -> Text Source #

Converts GhcVer into dot-separated string.

latestLts :: GhcVer -> Text Source #

Returns latest known LTS resolver for all GHC versions except default one.

data Decision Source #

Used for detecting the user decision during CLI input.

Constructors

Yes 
Nop 
Idk 
Instances
Bounded Decision Source # 
Instance details

Defined in Summoner.ProjectData

Enum Decision Source # 
Instance details

Defined in Summoner.ProjectData

Eq Decision Source # 
Instance details

Defined in Summoner.ProjectData

Show Decision Source # 
Instance details

Defined in Summoner.ProjectData

Generic Decision Source # 
Instance details

Defined in Summoner.ProjectData

Associated Types

type Rep Decision :: * -> * #

Methods

from :: Decision -> Rep Decision x #

to :: Rep Decision x -> Decision #

Semigroup Decision Source # 
Instance details

Defined in Summoner.ProjectData

Monoid Decision Source # 
Instance details

Defined in Summoner.ProjectData

GSemigroup Decision Source # 
Instance details

Defined in Summoner.ProjectData

GMonoid Decision Source # 
Instance details

Defined in Summoner.ProjectData

type Rep Decision Source # 
Instance details

Defined in Summoner.ProjectData

type Rep Decision = D1 (MetaData "Decision" "Summoner.ProjectData" "summoner-1.0.6-3O7BpG2ATom6xYTCBQK63X" False) (C1 (MetaCons "Yes" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Nop" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Idk" PrefixI False) (U1 :: * -> *)))

data CustomPrelude Source #

Constructors

Prelude 

Fields

data Answer Source #

Constructors

Y 
N