A program for developing Haskell projects
open sourceBSD-3-Clausefree
Stack is a command-line program for developing Haskell projects, for new and experienced users on Linux, macOS and Windows. It installs the GHC compiler a project needs automatically, fetches its packages from a curated snapshot, and builds, tests and benchmarks the project, with commands for running GHC interactively, scripting, and building in Docker or Nix. It can be installed directly or through GHCup.
Ways to install
Package managers
Problems it solves
- set up a Haskell project without installing the compiler and packages by hand
- get reproducible Haskell builds where everyone uses the same package versions
- build, test and run a Haskell project from one command-line tool
Features
- Installs the right GHC version for each project automatically
- Builds projects against curated package snapshots for reproducible builds
- Build, test, bench, ghci, exec and script commands
- Multi-package projects
- Docker and Nix integration
Alternatives
The same job
These do what Stack does.