Skip to content

Improve cabal init defaults #8465

Open
Open
@santiweight

Description

Many users, including myself, get frustrated when starting a new project. The cabal init experience is very pleasant, but the defaults for packages and the generated code could be more practical:

  1. cabal init should include various important packages in the default project (such as text, containers, bytestring)
  2. ideally, the generated Main.hs should use some of these packages, so that there are as few "unused package" errors as possible
  3. the library should generate more than one file, in order to show how to have multiple files in a cabal package
  4. should the generated test file include some logic?

Is (1) possible? If so, we can come up with some more specific ideas for (2,3,4)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions