packages feed

cartel 0.14.2.8 → 0.16.0.0

raw patch · 9 files changed

+152/−55 lines, 9 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

- Cartel: author :: Properties -> String
- Cartel: blank :: Blank a => a
- Cartel: bugReports :: Properties -> String
- Cartel: buildType :: Properties -> Maybe BuildType
- Cartel: cabalVersion :: Properties -> Maybe (Word, Word)
- Cartel: category :: Properties -> String
- Cartel: class Blank a
- Cartel: copyright :: Properties -> String
- Cartel: dataDir :: Properties -> String
- Cartel: dataFiles :: Properties -> [NonEmptyString]
- Cartel: description :: Properties -> [String]
- Cartel: extraDocFiles :: Properties -> [NonEmptyString]
- Cartel: extraSourceFiles :: Properties -> [NonEmptyString]
- Cartel: extraTmpFiles :: Properties -> [NonEmptyString]
- Cartel: flagDefault :: FlagOpts -> Bool
- Cartel: flagDescription :: FlagOpts -> String
- Cartel: flagManual :: FlagOpts -> Bool
- Cartel: homepage :: Properties -> String
- Cartel: license :: Properties -> Maybe License
- Cartel: licenseFile :: Properties -> String
- Cartel: licenseFiles :: Properties -> [NonEmptyString]
- Cartel: maintainer :: Properties -> String
- Cartel: name :: Properties -> String
- Cartel: packageUrl :: Properties -> String
- Cartel: repoBranch :: Repository -> String
- Cartel: repoKind :: Repository -> Maybe RepoKind
- Cartel: repoLocation :: Repository -> NonEmptyString
- Cartel: repoSubdir :: Repository -> String
- Cartel: repoTag :: Repository -> String
- Cartel: repoVcs :: Repository -> Maybe Vcs
- Cartel: stability :: Properties -> String
- Cartel: synopsis :: Properties -> String
- Cartel: testedWith :: Properties -> [(Compiler, Constraint)]
- Cartel: version :: Properties -> Version
- Cartel.Ast: author :: Properties -> String
- Cartel.Ast: benchmarkFields :: Benchmark -> [BenchmarkField]
- Cartel.Ast: benchmarkName :: Benchmark -> NonEmptyString
- Cartel.Ast: blank :: Blank a => a
- Cartel.Ast: bugReports :: Properties -> String
- Cartel.Ast: buildType :: Properties -> Maybe BuildType
- Cartel.Ast: cabalVersion :: Properties -> Maybe (Word, Word)
- Cartel.Ast: category :: Properties -> String
- Cartel.Ast: class Blank a
- Cartel.Ast: condIf :: CondBlock a -> Condition
- Cartel.Ast: copyright :: Properties -> String
- Cartel.Ast: dataDir :: Properties -> String
- Cartel.Ast: dataFiles :: Properties -> [NonEmptyString]
- Cartel.Ast: description :: Properties -> [String]
- Cartel.Ast: exeFields :: Executable -> [ExecutableField]
- Cartel.Ast: exeName :: Executable -> NonEmptyString
- Cartel.Ast: extraDocFiles :: Properties -> [NonEmptyString]
- Cartel.Ast: extraSourceFiles :: Properties -> [NonEmptyString]
- Cartel.Ast: extraTmpFiles :: Properties -> [NonEmptyString]
- Cartel.Ast: flags :: Cabal -> [Flag]
- Cartel.Ast: homepage :: Properties -> String
- Cartel.Ast: ifFalse :: CondBlock a -> [a]
- Cartel.Ast: ifTrue :: CondBlock a -> (a, [a])
- Cartel.Ast: instance Blank Cabal
- Cartel.Ast: instance Blank Properties
- Cartel.Ast: instance Blank Repository
- Cartel.Ast: instance BuildsExe BenchmarkField
- Cartel.Ast: instance BuildsExe ExecutableField
- Cartel.Ast: instance BuildsExe TestSuiteField
- Cartel.Ast: instance BuildsExitcode BenchmarkField
- Cartel.Ast: instance BuildsExitcode TestSuiteField
- Cartel.Ast: instance Eq Benchmark
- Cartel.Ast: instance Eq BenchmarkField
- Cartel.Ast: instance Eq BenchmarkType
- Cartel.Ast: instance Eq BuildInfoField
- Cartel.Ast: instance Eq BuildType
- Cartel.Ast: instance Eq Cabal
- Cartel.Ast: instance Eq Compiler
- Cartel.Ast: instance Eq CondLeaf
- Cartel.Ast: instance Eq Condition
- Cartel.Ast: instance Eq ConstrTree
- Cartel.Ast: instance Eq Constraint
- Cartel.Ast: instance Eq DefaultLanguage
- Cartel.Ast: instance Eq Executable
- Cartel.Ast: instance Eq ExecutableField
- Cartel.Ast: instance Eq LibraryField
- Cartel.Ast: instance Eq License
- Cartel.Ast: instance Eq Logical
- Cartel.Ast: instance Eq OrEqualTo
- Cartel.Ast: instance Eq Package
- Cartel.Ast: instance Eq Properties
- Cartel.Ast: instance Eq RepoKind
- Cartel.Ast: instance Eq Repository
- Cartel.Ast: instance Eq Section
- Cartel.Ast: instance Eq TestSuite
- Cartel.Ast: instance Eq TestSuiteField
- Cartel.Ast: instance Eq TestSuiteType
- Cartel.Ast: instance Eq Vcs
- Cartel.Ast: instance Eq VersionComp
- Cartel.Ast: instance Eq a => Eq (CondBlock a)
- Cartel.Ast: instance Functor CondBlock
- Cartel.Ast: instance HasBuildInfo BenchmarkField
- Cartel.Ast: instance HasBuildInfo ExecutableField
- Cartel.Ast: instance HasBuildInfo LibraryField
- Cartel.Ast: instance HasBuildInfo TestSuiteField
- Cartel.Ast: instance LogicTree Condition
- Cartel.Ast: instance LogicTree ConstrTree
- Cartel.Ast: instance LogicTree Constraint
- Cartel.Ast: instance Ord Benchmark
- Cartel.Ast: instance Ord BenchmarkField
- Cartel.Ast: instance Ord BenchmarkType
- Cartel.Ast: instance Ord BuildInfoField
- Cartel.Ast: instance Ord BuildType
- Cartel.Ast: instance Ord Cabal
- Cartel.Ast: instance Ord Compiler
- Cartel.Ast: instance Ord CondLeaf
- Cartel.Ast: instance Ord Condition
- Cartel.Ast: instance Ord ConstrTree
- Cartel.Ast: instance Ord Constraint
- Cartel.Ast: instance Ord DefaultLanguage
- Cartel.Ast: instance Ord Executable
- Cartel.Ast: instance Ord ExecutableField
- Cartel.Ast: instance Ord LibraryField
- Cartel.Ast: instance Ord License
- Cartel.Ast: instance Ord Logical
- Cartel.Ast: instance Ord OrEqualTo
- Cartel.Ast: instance Ord Package
- Cartel.Ast: instance Ord Properties
- Cartel.Ast: instance Ord RepoKind
- Cartel.Ast: instance Ord Repository
- Cartel.Ast: instance Ord Section
- Cartel.Ast: instance Ord TestSuite
- Cartel.Ast: instance Ord TestSuiteField
- Cartel.Ast: instance Ord TestSuiteType
- Cartel.Ast: instance Ord Vcs
- Cartel.Ast: instance Ord VersionComp
- Cartel.Ast: instance Ord a => Ord (CondBlock a)
- Cartel.Ast: instance Show Benchmark
- Cartel.Ast: instance Show BenchmarkField
- Cartel.Ast: instance Show BenchmarkType
- Cartel.Ast: instance Show BuildInfoField
- Cartel.Ast: instance Show BuildType
- Cartel.Ast: instance Show Cabal
- Cartel.Ast: instance Show Compiler
- Cartel.Ast: instance Show CondLeaf
- Cartel.Ast: instance Show Condition
- Cartel.Ast: instance Show ConstrTree
- Cartel.Ast: instance Show Constraint
- Cartel.Ast: instance Show DefaultLanguage
- Cartel.Ast: instance Show Executable
- Cartel.Ast: instance Show ExecutableField
- Cartel.Ast: instance Show LibraryField
- Cartel.Ast: instance Show License
- Cartel.Ast: instance Show Logical
- Cartel.Ast: instance Show OrEqualTo
- Cartel.Ast: instance Show Package
- Cartel.Ast: instance Show Properties
- Cartel.Ast: instance Show RepoKind
- Cartel.Ast: instance Show Repository
- Cartel.Ast: instance Show Section
- Cartel.Ast: instance Show TestSuite
- Cartel.Ast: instance Show TestSuiteField
- Cartel.Ast: instance Show TestSuiteType
- Cartel.Ast: instance Show Vcs
- Cartel.Ast: instance Show VersionComp
- Cartel.Ast: instance Show a => Show (CondBlock a)
- Cartel.Ast: library :: Cabal -> [LibraryField]
- Cartel.Ast: license :: Properties -> Maybe License
- Cartel.Ast: licenseFile :: Properties -> String
- Cartel.Ast: licenseFiles :: Properties -> [NonEmptyString]
- Cartel.Ast: maintainer :: Properties -> String
- Cartel.Ast: name :: Properties -> String
- Cartel.Ast: packageUrl :: Properties -> String
- Cartel.Ast: properties :: Cabal -> Properties
- Cartel.Ast: repoBranch :: Repository -> String
- Cartel.Ast: repoKind :: Repository -> Maybe RepoKind
- Cartel.Ast: repoLocation :: Repository -> NonEmptyString
- Cartel.Ast: repoSubdir :: Repository -> String
- Cartel.Ast: repoTag :: Repository -> String
- Cartel.Ast: repoVcs :: Repository -> Maybe Vcs
- Cartel.Ast: sections :: Cabal -> [Section]
- Cartel.Ast: stability :: Properties -> String
- Cartel.Ast: synopsis :: Properties -> String
- Cartel.Ast: testSuiteFields :: TestSuite -> [TestSuiteField]
- Cartel.Ast: testSuiteName :: TestSuite -> NonEmptyString
- Cartel.Ast: testedWith :: Properties -> [(Compiler, Constraint)]
- Cartel.Ast: version :: Properties -> Version
- Cartel.Betsy: flagDefault :: FlagOpts -> Bool
- Cartel.Betsy: flagDescription :: FlagOpts -> String
- Cartel.Betsy: flagManual :: FlagOpts -> Bool
- Cartel.Betsy.Internal: flagDefault :: FlagOpts -> Bool
- Cartel.Betsy.Internal: flagDescription :: FlagOpts -> String
- Cartel.Betsy.Internal: flagManual :: FlagOpts -> Bool
- Cartel.Betsy.Internal: flagNameHead :: FlagName -> Char
- Cartel.Betsy.Internal: flagNameTail :: FlagName -> String
- Cartel.Betsy.Internal: instance (Monad m, Functor m) => Applicative (Betsy m)
- Cartel.Betsy.Internal: instance Eq Error
- Cartel.Betsy.Internal: instance Eq Flag
- Cartel.Betsy.Internal: instance Eq FlagName
- Cartel.Betsy.Internal: instance Eq FlagOpts
- Cartel.Betsy.Internal: instance Functor m => Functor (Betsy m)
- Cartel.Betsy.Internal: instance Monad m => Monad (Betsy m)
- Cartel.Betsy.Internal: instance MonadIO m => MonadIO (Betsy m)
- Cartel.Betsy.Internal: instance MonadTrans Betsy
- Cartel.Betsy.Internal: instance Ord Error
- Cartel.Betsy.Internal: instance Ord Flag
- Cartel.Betsy.Internal: instance Ord FlagName
- Cartel.Betsy.Internal: instance Ord FlagOpts
- Cartel.Betsy.Internal: instance Show Error
- Cartel.Betsy.Internal: instance Show Flag
- Cartel.Betsy.Internal: instance Show FlagName
- Cartel.Betsy.Internal: instance Show FlagOpts
- Cartel.GenCartelCabal: atLeast :: NonEmptyString -> [Word] -> Package
- Cartel.Render: instance Eq CabalVersion
- Cartel.Render: instance Eq Flags
- Cartel.Render: instance Ord CabalVersion
- Cartel.Render: instance Ord Flags
- Cartel.Render: instance Renderable (Compiler, Constraint)
- Cartel.Render: instance Renderable BenchmarkType
- Cartel.Render: instance Renderable Bool
- Cartel.Render: instance Renderable BuildType
- Cartel.Render: instance Renderable CabalVersion
- Cartel.Render: instance Renderable Compiler
- Cartel.Render: instance Renderable CondLeaf
- Cartel.Render: instance Renderable Condition
- Cartel.Render: instance Renderable ConstrTree
- Cartel.Render: instance Renderable Constraint
- Cartel.Render: instance Renderable DefaultLanguage
- Cartel.Render: instance Renderable FlagName
- Cartel.Render: instance Renderable License
- Cartel.Render: instance Renderable Logical
- Cartel.Render: instance Renderable Package
- Cartel.Render: instance Renderable RepoKind
- Cartel.Render: instance Renderable TestSuiteType
- Cartel.Render: instance Renderable Vcs
- Cartel.Render: instance Renderable Version
- Cartel.Render: instance Renderable VersionComp
- Cartel.Render: instance Renderable a => Renderable (Maybe a)
- Cartel.Render: instance RenderableIndented Benchmark
- Cartel.Render: instance RenderableIndented BenchmarkField
- Cartel.Render: instance RenderableIndented BuildInfoField
- Cartel.Render: instance RenderableIndented Cabal
- Cartel.Render: instance RenderableIndented Error
- Cartel.Render: instance RenderableIndented Executable
- Cartel.Render: instance RenderableIndented ExecutableField
- Cartel.Render: instance RenderableIndented Flag
- Cartel.Render: instance RenderableIndented FlagOpts
- Cartel.Render: instance RenderableIndented Flags
- Cartel.Render: instance RenderableIndented LibraryField
- Cartel.Render: instance RenderableIndented Properties
- Cartel.Render: instance RenderableIndented Repository
- Cartel.Render: instance RenderableIndented Section
- Cartel.Render: instance RenderableIndented TestSuite
- Cartel.Render: instance RenderableIndented TestSuiteField
- Cartel.Render: instance RenderableIndented a => RenderableIndented (CondBlock a)
- Cartel.Render: instance Show CabalVersion
- Cartel.Render: instance Show Flags
+ Cartel: [author] :: Properties -> String
+ Cartel: [bugReports] :: Properties -> String
+ Cartel: [buildType] :: Properties -> Maybe BuildType
+ Cartel: [cabalVersion] :: Properties -> Maybe (Word, Word)
+ Cartel: [category] :: Properties -> String
+ Cartel: [copyright] :: Properties -> String
+ Cartel: [dataDir] :: Properties -> String
+ Cartel: [dataFiles] :: Properties -> [NonEmptyString]
+ Cartel: [description] :: Properties -> [String]
+ Cartel: [extraDocFiles] :: Properties -> [NonEmptyString]
+ Cartel: [extraSourceFiles] :: Properties -> [NonEmptyString]
+ Cartel: [extraTmpFiles] :: Properties -> [NonEmptyString]
+ Cartel: [flagDefault] :: FlagOpts -> Bool
+ Cartel: [flagDescription] :: FlagOpts -> String
+ Cartel: [flagManual] :: FlagOpts -> Bool
+ Cartel: [homepage] :: Properties -> String
+ Cartel: [licenseFile] :: Properties -> String
+ Cartel: [licenseFiles] :: Properties -> [NonEmptyString]
+ Cartel: [license] :: Properties -> Maybe License
+ Cartel: [maintainer] :: Properties -> String
+ Cartel: [name] :: Properties -> String
+ Cartel: [packageUrl] :: Properties -> String
+ Cartel: [repoBranch] :: Repository -> String
+ Cartel: [repoKind] :: Repository -> Maybe RepoKind
+ Cartel: [repoLocation] :: Repository -> NonEmptyString
+ Cartel: [repoSubdir] :: Repository -> String
+ Cartel: [repoTag] :: Repository -> String
+ Cartel: [repoVcs] :: Repository -> Maybe Vcs
+ Cartel: [stability] :: Properties -> String
+ Cartel: [synopsis] :: Properties -> String
+ Cartel: [testedWith] :: Properties -> [(Compiler, Constraint)]
+ Cartel: [version] :: Properties -> Version
+ Cartel: atLeast :: NonEmptyString -> Version -> Package
+ Cartel.Ast: [author] :: Properties -> String
+ Cartel.Ast: [benchmarkFields] :: Benchmark -> [BenchmarkField]
+ Cartel.Ast: [benchmarkName] :: Benchmark -> NonEmptyString
+ Cartel.Ast: [bugReports] :: Properties -> String
+ Cartel.Ast: [buildType] :: Properties -> Maybe BuildType
+ Cartel.Ast: [cabalVersion] :: Properties -> Maybe (Word, Word)
+ Cartel.Ast: [category] :: Properties -> String
+ Cartel.Ast: [condIf] :: CondBlock a -> Condition
+ Cartel.Ast: [copyright] :: Properties -> String
+ Cartel.Ast: [dataDir] :: Properties -> String
+ Cartel.Ast: [dataFiles] :: Properties -> [NonEmptyString]
+ Cartel.Ast: [description] :: Properties -> [String]
+ Cartel.Ast: [exeFields] :: Executable -> [ExecutableField]
+ Cartel.Ast: [exeName] :: Executable -> NonEmptyString
+ Cartel.Ast: [extraDocFiles] :: Properties -> [NonEmptyString]
+ Cartel.Ast: [extraSourceFiles] :: Properties -> [NonEmptyString]
+ Cartel.Ast: [extraTmpFiles] :: Properties -> [NonEmptyString]
+ Cartel.Ast: [flags] :: Cabal -> [Flag]
+ Cartel.Ast: [homepage] :: Properties -> String
+ Cartel.Ast: [ifFalse] :: CondBlock a -> [a]
+ Cartel.Ast: [ifTrue] :: CondBlock a -> (a, [a])
+ Cartel.Ast: [library] :: Cabal -> [LibraryField]
+ Cartel.Ast: [licenseFile] :: Properties -> String
+ Cartel.Ast: [licenseFiles] :: Properties -> [NonEmptyString]
+ Cartel.Ast: [license] :: Properties -> Maybe License
+ Cartel.Ast: [maintainer] :: Properties -> String
+ Cartel.Ast: [name] :: Properties -> String
+ Cartel.Ast: [packageUrl] :: Properties -> String
+ Cartel.Ast: [properties] :: Cabal -> Properties
+ Cartel.Ast: [repoBranch] :: Repository -> String
+ Cartel.Ast: [repoKind] :: Repository -> Maybe RepoKind
+ Cartel.Ast: [repoLocation] :: Repository -> NonEmptyString
+ Cartel.Ast: [repoSubdir] :: Repository -> String
+ Cartel.Ast: [repoTag] :: Repository -> String
+ Cartel.Ast: [repoVcs] :: Repository -> Maybe Vcs
+ Cartel.Ast: [sections] :: Cabal -> [Section]
+ Cartel.Ast: [stability] :: Properties -> String
+ Cartel.Ast: [synopsis] :: Properties -> String
+ Cartel.Ast: [testSuiteFields] :: TestSuite -> [TestSuiteField]
+ Cartel.Ast: [testSuiteName] :: TestSuite -> NonEmptyString
+ Cartel.Ast: [testedWith] :: Properties -> [(Compiler, Constraint)]
+ Cartel.Ast: [version] :: Properties -> Version
+ Cartel.Ast: atLeast :: NonEmptyString -> Version -> Package
+ Cartel.Ast: instance Cartel.Ast.BuildsExe Cartel.Ast.BenchmarkField
+ Cartel.Ast: instance Cartel.Ast.BuildsExe Cartel.Ast.ExecutableField
+ Cartel.Ast: instance Cartel.Ast.BuildsExe Cartel.Ast.TestSuiteField
+ Cartel.Ast: instance Cartel.Ast.BuildsExitcode Cartel.Ast.BenchmarkField
+ Cartel.Ast: instance Cartel.Ast.BuildsExitcode Cartel.Ast.TestSuiteField
+ Cartel.Ast: instance Cartel.Ast.HasBuildInfo Cartel.Ast.BenchmarkField
+ Cartel.Ast: instance Cartel.Ast.HasBuildInfo Cartel.Ast.ExecutableField
+ Cartel.Ast: instance Cartel.Ast.HasBuildInfo Cartel.Ast.LibraryField
+ Cartel.Ast: instance Cartel.Ast.HasBuildInfo Cartel.Ast.TestSuiteField
+ Cartel.Ast: instance Cartel.Ast.LogicTree Cartel.Ast.Condition
+ Cartel.Ast: instance Cartel.Ast.LogicTree Cartel.Ast.ConstrTree
+ Cartel.Ast: instance Cartel.Ast.LogicTree Cartel.Ast.Constraint
+ Cartel.Ast: instance GHC.Base.Functor Cartel.Ast.CondBlock
+ Cartel.Ast: instance GHC.Base.Monoid Cartel.Ast.Benchmark
+ Cartel.Ast: instance GHC.Base.Monoid Cartel.Ast.Cabal
+ Cartel.Ast: instance GHC.Base.Monoid Cartel.Ast.Executable
+ Cartel.Ast: instance GHC.Base.Monoid Cartel.Ast.Properties
+ Cartel.Ast: instance GHC.Base.Monoid Cartel.Ast.Repository
+ Cartel.Ast: instance GHC.Base.Monoid Cartel.Ast.TestSuite
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Benchmark
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.BenchmarkField
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.BenchmarkType
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.BuildInfoField
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.BuildType
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Cabal
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Compiler
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.CondLeaf
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Condition
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.ConstrTree
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Constraint
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.DefaultLanguage
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Executable
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.ExecutableField
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.LibraryField
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.License
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Logical
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.OrEqualTo
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Package
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Properties
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.RepoKind
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Repository
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Section
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.TestSuite
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.TestSuiteField
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.TestSuiteType
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.Vcs
+ Cartel.Ast: instance GHC.Classes.Eq Cartel.Ast.VersionComp
+ Cartel.Ast: instance GHC.Classes.Eq a => GHC.Classes.Eq (Cartel.Ast.CondBlock a)
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Benchmark
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.BenchmarkField
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.BenchmarkType
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.BuildInfoField
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.BuildType
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Cabal
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Compiler
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.CondLeaf
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Condition
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.ConstrTree
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Constraint
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.DefaultLanguage
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Executable
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.ExecutableField
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.LibraryField
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.License
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Logical
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.OrEqualTo
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Package
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Properties
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.RepoKind
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Repository
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Section
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.TestSuite
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.TestSuiteField
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.TestSuiteType
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.Vcs
+ Cartel.Ast: instance GHC.Classes.Ord Cartel.Ast.VersionComp
+ Cartel.Ast: instance GHC.Classes.Ord a => GHC.Classes.Ord (Cartel.Ast.CondBlock a)
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Benchmark
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.BenchmarkField
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.BenchmarkType
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.BuildInfoField
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.BuildType
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Cabal
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Compiler
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.CondLeaf
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Condition
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.ConstrTree
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Constraint
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.DefaultLanguage
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Executable
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.ExecutableField
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.LibraryField
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.License
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Logical
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.OrEqualTo
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Package
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Properties
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.RepoKind
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Repository
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Section
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.TestSuite
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.TestSuiteField
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.TestSuiteType
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.Vcs
+ Cartel.Ast: instance GHC.Show.Show Cartel.Ast.VersionComp
+ Cartel.Ast: instance GHC.Show.Show a => GHC.Show.Show (Cartel.Ast.CondBlock a)
+ Cartel.Ast: lastJust :: Maybe a -> Maybe a -> Maybe a
+ Cartel.Betsy: [flagDefault] :: FlagOpts -> Bool
+ Cartel.Betsy: [flagDescription] :: FlagOpts -> String
+ Cartel.Betsy: [flagManual] :: FlagOpts -> Bool
+ Cartel.Betsy.Internal: [flagDefault] :: FlagOpts -> Bool
+ Cartel.Betsy.Internal: [flagDescription] :: FlagOpts -> String
+ Cartel.Betsy.Internal: [flagManual] :: FlagOpts -> Bool
+ Cartel.Betsy.Internal: [flagNameHead] :: FlagName -> Char
+ Cartel.Betsy.Internal: [flagNameTail] :: FlagName -> String
+ Cartel.Betsy.Internal: instance (GHC.Base.Monad m, GHC.Base.Functor m) => GHC.Base.Applicative (Cartel.Betsy.Internal.Betsy m)
+ Cartel.Betsy.Internal: instance Control.Monad.IO.Class.MonadIO m => Control.Monad.IO.Class.MonadIO (Cartel.Betsy.Internal.Betsy m)
+ Cartel.Betsy.Internal: instance Control.Monad.Trans.Class.MonadTrans Cartel.Betsy.Internal.Betsy
+ Cartel.Betsy.Internal: instance GHC.Base.Functor m => GHC.Base.Functor (Cartel.Betsy.Internal.Betsy m)
+ Cartel.Betsy.Internal: instance GHC.Base.Monad m => GHC.Base.Monad (Cartel.Betsy.Internal.Betsy m)
+ Cartel.Betsy.Internal: instance GHC.Classes.Eq Cartel.Betsy.Internal.Error
+ Cartel.Betsy.Internal: instance GHC.Classes.Eq Cartel.Betsy.Internal.Flag
+ Cartel.Betsy.Internal: instance GHC.Classes.Eq Cartel.Betsy.Internal.FlagName
+ Cartel.Betsy.Internal: instance GHC.Classes.Eq Cartel.Betsy.Internal.FlagOpts
+ Cartel.Betsy.Internal: instance GHC.Classes.Ord Cartel.Betsy.Internal.Error
+ Cartel.Betsy.Internal: instance GHC.Classes.Ord Cartel.Betsy.Internal.Flag
+ Cartel.Betsy.Internal: instance GHC.Classes.Ord Cartel.Betsy.Internal.FlagName
+ Cartel.Betsy.Internal: instance GHC.Classes.Ord Cartel.Betsy.Internal.FlagOpts
+ Cartel.Betsy.Internal: instance GHC.Show.Show Cartel.Betsy.Internal.Error
+ Cartel.Betsy.Internal: instance GHC.Show.Show Cartel.Betsy.Internal.Flag
+ Cartel.Betsy.Internal: instance GHC.Show.Show Cartel.Betsy.Internal.FlagName
+ Cartel.Betsy.Internal: instance GHC.Show.Show Cartel.Betsy.Internal.FlagOpts
+ Cartel.Render: instance Cartel.Render.Renderable (Cartel.Ast.Compiler, Cartel.Ast.Constraint)
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.BenchmarkType
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.BuildType
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.Compiler
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.CondLeaf
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.Condition
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.ConstrTree
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.Constraint
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.DefaultLanguage
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.License
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.Logical
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.Package
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.RepoKind
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.TestSuiteType
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.Vcs
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.Version
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Ast.VersionComp
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Betsy.Internal.FlagName
+ Cartel.Render: instance Cartel.Render.Renderable Cartel.Render.CabalVersion
+ Cartel.Render: instance Cartel.Render.Renderable GHC.Types.Bool
+ Cartel.Render: instance Cartel.Render.Renderable a => Cartel.Render.Renderable (GHC.Base.Maybe a)
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.Benchmark
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.BenchmarkField
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.BuildInfoField
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.Cabal
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.Executable
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.ExecutableField
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.LibraryField
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.Properties
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.Repository
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.Section
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.TestSuite
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Ast.TestSuiteField
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Betsy.Internal.Error
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Betsy.Internal.Flag
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Betsy.Internal.FlagOpts
+ Cartel.Render: instance Cartel.Render.RenderableIndented Cartel.Render.Flags
+ Cartel.Render: instance Cartel.Render.RenderableIndented a => Cartel.Render.RenderableIndented (Cartel.Ast.CondBlock a)
+ Cartel.Render: instance GHC.Classes.Eq Cartel.Render.CabalVersion
+ Cartel.Render: instance GHC.Classes.Eq Cartel.Render.Flags
+ Cartel.Render: instance GHC.Classes.Ord Cartel.Render.CabalVersion
+ Cartel.Render: instance GHC.Classes.Ord Cartel.Render.Flags
+ Cartel.Render: instance GHC.Show.Show Cartel.Render.CabalVersion
+ Cartel.Render: instance GHC.Show.Show Cartel.Render.Flags

Files

cartel.cabal view
@@ -3,16 +3,16 @@ -- http://www.github.com/massysett/cartel -- -- Script name used to generate: GenCartelCabal.hs--- Generated on: 2015-09-09 21:53:21.77097 EDT--- Cartel library version: 0.14.2.8+-- Generated on: 2016-01-30 07:32:28.40375 EST+-- Cartel library version: 0.16.0.0  name: cartel-version: 0.14.2.8-cabal-version: >= 1.18+version: 0.16.0.0+cabal-version: >= 1.10 license: BSD3 license-file: LICENSE build-type: Simple-copyright: Copyright 2014-2015 Omari Norman+copyright: Copyright 2014-2016 Omari Norman author: Omari Norman maintainer: omari@smileystation.com stability: Experimental@@ -46,7 +46,7 @@   hs-source-dirs:     lib   build-depends:-      base >= 4.7.0.0 && < 5+      base >= 4.8.0.0 && < 5     , directory >= 1.1.0.2     , filepath >= 1.3.0.0     , time >= 1.4@@ -61,6 +61,14 @@     buildable: True     other-modules:       Cartel.Generators+      Cartel+      Cartel.Ast+      Cartel.Betsy+      Cartel.Betsy.Internal+      Cartel.GenCartelCabal+      Cartel.Render+      Cartel.Types+      Cartel.Version     hs-source-dirs:       tests     build-depends:@@ -75,7 +83,7 @@     hs-source-dirs:       lib     build-depends:-        base >= 4.7.0.0 && < 5+        base >= 4.8.0.0 && < 5       , directory >= 1.1.0.2       , filepath >= 1.3.0.0       , time >= 1.4@@ -89,6 +97,14 @@   default-language: Haskell2010   other-modules:     Cartel.Generators+    Cartel+    Cartel.Ast+    Cartel.Betsy+    Cartel.Betsy.Internal+    Cartel.GenCartelCabal+    Cartel.Render+    Cartel.Types+    Cartel.Version   other-extensions:     TemplateHaskell   hs-source-dirs:@@ -105,7 +121,7 @@   hs-source-dirs:     lib   build-depends:-      base >= 4.7.0.0 && < 5+      base >= 4.8.0.0 && < 5     , directory >= 1.1.0.2     , filepath >= 1.3.0.0     , time >= 1.4
lib/Cartel.hs view
@@ -34,6 +34,32 @@ -- errors that you have to fix by changing the program that generates -- the file. --+-- I highly recommend that you use Cartel with @stack@, a Haskell+-- build tool.  Stack is available at+--+-- <https://github.com/commercialhaskell/stack>+--+-- By using @stack@ as a script interpreter, you can help ensure that+-- your Cartel script runs well into the future.  This is described at+--+-- <http://docs.haskellstack.org/en/stable/GUIDE.html#ghc-runghc>+--+-- In particular, to have a Cartel script that uses @stack@, you do+-- something like this in your Cartel script:+--+-- @+-- #!\/usr/\bin\/env\/stack+-- -- stack --resolver lts-5.0 --install-ghc runghc --package cartel+-- module Main where+-- import qualified Cartel as C+-- -- etc...+-- @+--+-- However, if you have a @stack.yaml@ file in the same directory as+-- your Cabal file, @stack@ will get confused.  To work around this,+-- temporarily rename your @stack.yaml@ file while you use your Cartel+-- script (you can easily write a script to automate this).+-- -- Everything you usually need is in this module.  Other Cartel -- modules contain implementation details.  /See first/ the -- 'NonEmptyString' type synonym, which has important details on how@@ -48,7 +74,6 @@   ( -- * Basic types and classes     Word   , NonEmptyString-  , Blank(..)   , Version    -- * Sections@@ -102,6 +127,7 @@   , nextBreaking   , nextMajor   , exactly+  , atLeast   , unconstrained    -- * Build information@@ -241,10 +267,8 @@ import Cartel.Render import Cartel.Types import qualified Cartel.Version-import Control.Applicative import Data.List (intersperse) import Data.Time-import Data.Word import System.Environment (getProgName) import System.Exit (exitFailure, exitSuccess) import qualified System.IO as IO
lib/Cartel/Ast.hs view
@@ -20,7 +20,6 @@  import qualified Data.Char as C import qualified System.FilePath as P-import Data.Word import System.FilePath import Data.List (sortBy, intersperse) import Data.Monoid@@ -29,19 +28,6 @@ import Cartel.Types import Cartel.Betsy --- * Basic types---- * Blank---- | Typeclass for things that can be blank.  More specifically,--- @blank a@ results in an item that, when rendered in a Cabal file,--- is the null string.  'blank' can be useful to indicate that you--- have no options, and you can also use it in combination with record--- syntax when you want to specify just a few options.--class Blank a where-  blank :: a- -- * Repositories  -- | What kind of VCS repository is this?@@ -87,7 +73,17 @@ archVcs = ArchVcs monotone = Monotone --- | A single @repository@ section.+-- | Takes the last non-Nothing value, or returns Nothing if both+-- values are Nothing.+lastJust :: Maybe a -> Maybe a -> Maybe a+lastJust a b = case (a, b) of+  (Nothing, Nothing) -> Nothing+  (Just x, Nothing) -> Just x+  (Nothing, Just y) -> Just y+  (Just _, Just y) -> Just y++-- | A single @repository@ section.  This is an instance of 'Monoid',+-- so to get a blank 'Repository' section, use 'mempty'. data Repository = Repository   { repoVcs :: Maybe Vcs   -- ^ What kind of 'Vcs' this is.  This is required.@@ -111,8 +107,11 @@   -- ^ The repository subdirectory.   } deriving (Eq, Ord, Show) -instance Blank Repository where-  blank = Repository Nothing Nothing "" "" "" ""+instance Monoid Repository where+  mempty = Repository Nothing Nothing "" "" "" ""+  mappend (Repository a0 a1 a2 a3 a4 a5) (Repository b0 b1 b2 b3 b4 b5)+    = Repository (lastJust a0 b0) (lastJust a1 b1) (a2 <> b2) (a3 <> b3)+        (a4 <> b4) (a5 <> b5)  -- | Creates a 'Section' that is a 'Repository' for a Github head. -- For example, for Cartel, use @githubHead \"massysett\" \"cartel\"@.@@ -123,10 +122,10 @@   -- ^ The Github project name within the account   -> Section githubHead acct proj-  = SecRepo $ blank { repoVcs = Just Git-                    , repoKind = Just Head-                    , repoLocation = loc-                    }+  = SecRepo $ mempty { repoVcs = Just Git+                     , repoKind = Just Head+                     , repoLocation = loc+                     }   where     loc = "https://github.com/" ++ acct ++ "/" ++ proj ++ ".git" @@ -340,6 +339,13 @@ exactly :: NonEmptyString -> Version -> Package exactly n v = Package n (eq v) +-- | Depends on this version, or any greater version.+--+-- > atLeast "base" [4,5,0,0] ==> version >= 4.5.0.0++atLeast :: NonEmptyString -> Version -> Package+atLeast n v = Package n (gtEq v)+ -- | Allows any version of a package.  unconstrained@@ -602,6 +608,11 @@   -- ^ An executable can contain zero or more 'ExecutableField's.   } deriving (Eq, Ord, Show) +instance Monoid Executable where+  mempty = Executable "" []+  mappend (Executable a0 a1) (Executable b0 b1)+    = Executable (a0 <> b0) (a1 <> b1)+ -- | Builds a 'Section' for executable files. executable   :: NonEmptyString@@ -666,6 +677,11 @@   -- ^ Zero or more 'TestSuiteField's.   } deriving (Eq, Ord, Show) +instance Monoid TestSuite where+  mempty = TestSuite "" []+  mappend (TestSuite a0 a1) (TestSuite b0 b1)+    = TestSuite (a0 <> b0) (a1 <> b1)+ -- | Builds a 'Section' for test suites. testSuite   :: NonEmptyString@@ -703,6 +719,11 @@   -- ^ Zero or more benchmark fields.   } deriving (Eq, Ord, Show) +instance Monoid Benchmark where+  mempty = Benchmark "" []+  mappend (Benchmark a0 a1) (Benchmark b0 b1)+    = Benchmark (a0 <> b0) (a1 <> b1)+ -- | Builds a 'Section' for benchmarks. benchmark   :: NonEmptyString@@ -1163,11 +1184,27 @@ jhc = JHC lhc = LHC --- | Global package properties.+-- | Global package properties.  Is an instance of 'Monoid' so to get+-- a blank 'Properties' use 'mempty', for example:+--+-- @+-- properties = mempty+--  { name = "mypackage"+--  , version = [0,1]+--  , cabalVersion = Just (1,10)+--  , buildType = Just simple+--  -- etc.  Fields you don't supply will be blank.+--  }+-- @+ data Properties = Properties   { name :: String   , version :: Version   , cabalVersion :: Maybe (Word, Word)+  -- ^ The version of the Cabal specification to use.  As of+  -- 2016-01-30 I can find no documentation on what these different+  -- versions are.  @cabal init@ of the @cabal-install@ program+  -- version 1.22.6.0 is using @1.10@ as the default value here.   , buildType :: Maybe BuildType   , license :: Maybe License   , licenseFile :: String@@ -1192,8 +1229,8 @@   , extraTmpFiles :: [NonEmptyString]   } deriving (Eq, Ord, Show) -instance Blank Properties where-  blank = Properties+instance Monoid Properties where+  mempty = Properties     { name = ""     , version = []     , cabalVersion = Nothing@@ -1219,9 +1256,36 @@     , extraTmpFiles = []     } +  mappend a b = Properties+    { name = name a <> name b+    , version = version a <> version b+    , cabalVersion = lastJust (cabalVersion a) (cabalVersion b)+    , buildType = lastJust (buildType a) (buildType b)+    , license = lastJust (license a) (license b)+    , licenseFile = licenseFile a <> licenseFile b+    , licenseFiles = licenseFiles a <> licenseFiles b+    , copyright = copyright a <> copyright b+    , author = author a <> author b+    , maintainer = maintainer a <> maintainer b+    , stability = stability a <> stability b+    , homepage = homepage a <> homepage b+    , bugReports = bugReports a <> bugReports b+    , packageUrl = packageUrl a <> packageUrl b+    , synopsis = synopsis a <> synopsis b+    , description = description a <> description b+    , category = category a <> category b+    , testedWith = testedWith a <> testedWith b+    , dataFiles = dataFiles a <> dataFiles b+    , dataDir = dataDir a <> dataDir b+    , extraSourceFiles = extraSourceFiles a <> extraSourceFiles b+    , extraDocFiles = extraDocFiles a <> extraDocFiles b+    , extraTmpFiles = extraTmpFiles a <> extraTmpFiles b+    }+ -- * Cabal --- | Represents an entire Cabal file.+-- | Represents an entire Cabal file.  Is an instance of 'Monoid' so+-- to get a blank 'Cabal' use 'mempty'. data Cabal = Cabal   { properties :: Properties   , library :: [LibraryField]@@ -1229,5 +1293,7 @@   , flags :: [Flag]   } deriving (Eq, Ord, Show) -instance Blank Cabal where-  blank = Cabal blank [] [] []+instance Monoid Cabal where+  mempty = Cabal mempty [] [] []+  mappend (Cabal a0 a1 a2 a3) (Cabal b0 b1 b2 b3)+    = Cabal (a0 <> b0) (a1 <> b1) (a2 <> b2) (a3 <> b3)
lib/Cartel/Betsy/Internal.hs view
@@ -6,7 +6,6 @@ import Control.Monad.IO.Class import Control.Monad.Trans.Class import Cartel.Types-import Control.Applicative  -- | Errors that may result from running a 'Betsy' computation. data Error
lib/Cartel/GenCartelCabal.hs view
@@ -10,11 +10,8 @@  -- Dependencies -atLeast :: NonEmptyString -> [Word] -> Package-atLeast name ver = package name (gtEq ver)- base :: Package-base = closedOpen "base" [4,7,0,0] [5]+base = closedOpen "base" [4,8,0,0] [5]  directory :: Package directory = atLeast "directory" [1,1,0,2]@@ -77,7 +74,7 @@               })   testMods <- modules "tests"   return-    ( blank+    ( mempty       { name = "cartel"         , version = Cartel.Version.version         , buildType = Just simple@@ -94,10 +91,10 @@             ]         , license = Just bsd3         , licenseFile = "LICENSE"-        , copyright = "Copyright 2014-2015 Omari Norman"+        , copyright = "Copyright 2014-2016 Omari Norman"         , author = "Omari Norman"         , stability = "Experimental"-        , cabalVersion = Just (1,18)+        , cabalVersion = Just (1,10)         , homepage = "http://www.github.com/massysett/cartel"         , bugReports = "http://www.github.com/massysett/cartel/issues"         , extraSourceFiles = ["README.md"]@@ -108,7 +105,8 @@       , executable "cartel-visual-test"         [ condBlock (flag flagVisual)           ( buildable True-          , otherModules testMods : testOptions+          , otherModules (testMods ++ libModules)+            : testOptions           )           [ buildable False           ]@@ -117,7 +115,7 @@         ]       , testSuite "cartel-properties"         $ haskell2010 -        : otherModules testMods +        : otherModules (testMods ++ libModules)         : otherExtensions ["TemplateHaskell"]         : testOptions         ++ exitcodeFields "cartel-properties.hs"
lib/Cartel/Render.hs view
@@ -5,11 +5,9 @@  import Cartel.Ast import Cartel.Betsy-import Control.Applicative import Control.Monad.Trans.Reader import Data.Char (isLetter, isDigit) import Data.List (intersperse)-import Data.Word  -- | Separate two strings with a space, but only if both strings are -- not empty.
lib/Cartel/Version.hs view
@@ -8,7 +8,5 @@  module Cartel.Version where -import Data.Word- version :: [Word]-version = [0,14,2,8]+version = [0,16,0,0]
tests/Cartel/Generators.hs view
@@ -5,7 +5,6 @@ import Cartel.Betsy import Cartel.Ast import Cartel.Render-import Control.Applicative import Control.Monad.Trans.State import Control.Monad.Trans.Class import System.Random (StdGen, random, randomR, Random(..), mkStdGen)
tests/cartel-visual-test.hs view
@@ -2,7 +2,6 @@ -- for details on what arguments to use. module Main where -import Data.Word import Cartel.Generators import System.Environment import Data.Either