haskell-ci-0.2: Cabal package script generator for Travis-CI

Safe HaskellNone
LanguageHaskell2010

HaskellCI.Newtypes

Synopsis

Documentation

newtype PackageLocation Source #

Constructors

PackageLocation String 
Instances
Parsec PackageLocation Source #

This is a bit tricky since it has to cover globs which have embedded , chars. But we don't just want to parse strictly as a glob since we want to allow http urls which don't parse as globs, and possibly some system-dependent file paths. So we parse fairly liberally as a token, but we allow , inside matched {} braces.

Instance details

Defined in HaskellCI.Newtypes

Pretty PackageLocation Source # 
Instance details

Defined in HaskellCI.Newtypes

Newtype PackageLocation [Char] Source # 
Instance details

Defined in HaskellCI.Newtypes

newtype NoCommas Source #

Constructors

NoCommas String 
Instances
Parsec NoCommas Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

parsec :: CabalParsing m => m NoCommas #

Pretty NoCommas Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

pretty :: NoCommas -> Doc #

Newtype NoCommas [Char] Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

pack :: [Char] -> NoCommas #

unpack :: NoCommas -> [Char] #

newtype HeadVersion Source #

Constructors

HeadVersion 
Instances
Parsec HeadVersion Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

parsec :: CabalParsing m => m HeadVersion #

Pretty HeadVersion Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

pretty :: HeadVersion -> Doc #

Newtype HeadVersion (Maybe Version) Source # 
Instance details

Defined in HaskellCI.Newtypes

newtype Int' Source #

Constructors

Int' Int 
Instances
Parsec Int' Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

parsec :: CabalParsing m => m Int' #

Pretty Int' Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

pretty :: Int' -> Doc #

Newtype Int' Int Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

pack :: Int -> Int' #

unpack :: Int' -> Int #

newtype Range Source #

Constructors

Range VersionRange 
Instances
Parsec Range Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

parsec :: CabalParsing m => m Range #

Pretty Range Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

pretty :: Range -> Doc #

Newtype Range VersionRange Source # 
Instance details

Defined in HaskellCI.Newtypes

newtype AlaSet sep b a Source #

Constructors

AlaSet 

Fields

Instances
(Newtype b a, Ord a, Sep sep, Parsec b) => Parsec (AlaSet sep b a) Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

parsec :: CabalParsing m => m (AlaSet sep b a) #

(Newtype b a, Sep sep, Pretty b) => Pretty (AlaSet sep b a) Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

pretty :: AlaSet sep b a -> Doc #

Newtype (AlaSet sep wrapper a) (Set a) Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

pack :: Set a -> AlaSet sep wrapper a #

unpack :: AlaSet sep wrapper a -> Set a #

alaSet :: sep -> Set a -> AlaSet sep (Identity a) a Source #

alaSet' :: sep -> (a -> b) -> Set a -> AlaSet sep b a Source #

More general version of alaSet.

class Sep sep where Source #

Methods

prettySep :: Proxy sep -> [Doc] -> Doc Source #

parseSep :: CabalParsing m => Proxy sep -> m a -> m [a] Source #

Instances
Sep CommaVCat Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

prettySep :: Proxy CommaVCat -> [Doc] -> Doc Source #

parseSep :: CabalParsing m => Proxy CommaVCat -> m a -> m [a] Source #

Sep CommaFSep Source # 
Instance details

Defined in HaskellCI.Newtypes

Methods

prettySep :: Proxy CommaFSep -> [Doc] -> Doc Source #

parseSep :: CabalParsing m => Proxy CommaFSep -> m a -> m [a] Source #

Sep NoCommaFSep Source # 
Instance details

Defined in HaskellCI.Newtypes