Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New To Cabal - Adding dependencies #17

Open
JonathanLorimer opened this issue Jun 27, 2021 · 0 comments
Open

New To Cabal - Adding dependencies #17

JonathanLorimer opened this issue Jun 27, 2021 · 0 comments
Labels
New Chapter New To Cabal Section label for getting started with cabal

Comments

@JonathanLorimer
Copy link
Contributor

JonathanLorimer commented Jun 27, 2021

file to edit: https://github.com/haskell/cabal-userguide/blob/main/src/new_to_cabal/08_adding_dependencies.md

Brief Summary

This is a very important chapter as it will introduce new users to one of the primary use cases of cabal, bringing in external libraries. This should go over all 3 ways of adding dependencies:

  • Local packages
  • Hackage packages
  • Packages as tarballs

There should be some discussion of version bounds, their syntax and semantics, and strategies for organizing version bounds.

Prior Art

Kowainik Blog adding a dependency
Haskell School adding a dependency

Resources

Matt Parson's blog post on version bounding
Old cabal user guide adding dependencies
Old cabal user guide build depends

@JonathanLorimer JonathanLorimer added New Chapter New To Cabal Section label for getting started with cabal labels Jun 27, 2021
@JonathanLorimer JonathanLorimer added this to To do in Cabal User Guide V1 via automation Jun 27, 2021
@JonathanLorimer JonathanLorimer added this to the New To Cabal V1 milestone Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Chapter New To Cabal Section label for getting started with cabal
Projects
Development

No branches or pull requests

1 participant