summoner-1.0.0: 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

data GhcVer Source #

Represents some selected set of GHC versions.

Constructors

Ghc7103 
Ghc801 
Ghc802 
Ghc822 

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 # 
Enum Decision Source # 
Eq Decision Source # 
Show Decision Source # 
Generic Decision Source # 

Associated Types

type Rep Decision :: * -> * #

Methods

from :: Decision -> Rep Decision x #

to :: Rep Decision x -> Decision #

Semigroup Decision Source # 
Monoid Decision Source # 
GSemigroup Decision Source # 
GMonoid Decision Source # 
type Rep Decision Source # 
type Rep Decision = D1 * (MetaData "Decision" "Summoner.ProjectData" "summoner-1.0.0-CGySPNMTHnOJze9AHWVPXW" False) ((:+:) * (C1 * (MetaCons "Yes" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Nop" PrefixI False) (U1 *)) (C1 * (MetaCons "Idk" PrefixI False) (U1 *))))

data Answer Source #

Constructors

Y 
N