Cabal
3.4
1. Getting Started with Haskell and Cabal
2. Introduction
3. Configuration and Installing Packages
4. Package Concepts and Development
4.1. Quickstart
4.2. Package concepts
5. Nix-style Local Builds
6. cabal-install Commands
7. Package Description
8. cabal.project Reference
9. Setup.hs Commands
10. Package Description Format Specification History
11. Field Syntax Reference
12. Reporting Bugs and Stability of Cabal Interfaces
13. Nix Integration
Reference
Index
Cabal
Docs
»
4.
Package Concepts and Development
Edit on GitHub
4.
Package Concepts and Development
¶
4.1. Quickstart
4.1.1. Using “cabal init”
4.1.2. Editing the .cabal file
4.1.3. Modules included in the package
4.1.4. Modules imported from other packages
4.1.5. Building the package
4.1.6. Next steps
4.2. Package concepts
4.2.1. The point of packages
4.2.2. Package names and versions
4.2.3. Kinds of package: Cabal vs GHC vs system
4.2.4. Unit of distribution
4.2.5. Explicit dependencies and automatic package management
4.2.6. Portability