cabal-userguide icon indicating copy to clipboard operation
cabal-userguide copied to clipboard

New To Cabal - Adding dependencies

Open JonathanLorimer opened this issue 4 years ago • 0 comments

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 avatar Jun 27 '21 19:06 JonathanLorimer