The working programmer’s guide to setting up Haskell projects

tl;dr: Nothing beats Haskell.nix for features and flexibility. To get started quickly, use the template-haskell project template.

If you’ve ever tried to set up a Haskell project, you know that it can be extremely frustrating to get to a point where everything just werks1. Of course, just compiling a project is not that hard, it’s when you have multiple projects, spanning multiple compiler versions, all requiring tooling compiled with the right GHC version, that things quickly turn into a mess. In this post I will outline what I think is currently the best way of setting up a Haskell project.

If you’re just starting out with Haskell, this guide is not for you. You’re probably best off just using Stack. You will know when you’re ready…

This thread was posted by one of our members via one of our news source trackers.

Corresponding tweet for this thread:

Share link for this tweet.