cartel- Specify your Cabal files in Haskell

Safe HaskellSafe-Inferred



Default values for the data types in Cartel.Ast. These defaults are genrally filled in with blank values. Use these default values where you can; by doing so you help future-proof your code. Use the default as a starting point and fill in the values that you need.



properties :: PropertiesSource

A default Properties. prCabalVersion is (1, 14) to specify Cabal version 1.14; prBuildType is Simple, and prLicense is BSD3. All other items are either the empty String or the empty list, including the prVersion, which is left empty.

cabal :: CabalSource

A default Cabal. properties is used for cProperties, and cLibrary is Nothing; all other lists are empty.



:: Vcs

Type of VCS in use

-> Maybe String

To use the this repo kind, use Just String, where the String is the tag corresponding to the current branch. To use the head repository kind, use Nothing.

-> String

Repo location

-> Repository 

A default Repository. You must supply the VCS type, information about the kind of repository (Head or This), and the repository location. repoBranch and repoSubdir are empty.

flag :: FlagSource

A default Flag. flName and flDescription are empty; flDefault is True, and flManual is False.