talira

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

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.

  1. Cabal System for building and packaging Haskell libraries and programs
  2. Scala CLI Command-line tool to compile, run, test and package Scala code
  3. sbt A simple build tool for Scala and Java

Compare Stack with the top 3