Haskell’s tooling choices are fewer than they look, and most beginners over-shop. You need a compiler, a build tool, an editor integration, a formatter, and a package source. Everything else is optional until a specific problem appears. Choose the default in each category, learn it properly, and revisit the decision only when it costs you time.
Toolchain: one installer, one version
Install through GHCup and use the recommended compiler version rather than the newest one. Newest versions sometimes outpace the libraries you will want, and a beginner does not need the edge. Record the version somewhere so documentation searches match.
The build tool that ships with the toolchain is enough. Learn its three commands — build, run, test — before looking at anything else.
Editor: whichever one you already touch without thinking
The editor matters far less than the language server behind it. If your editor can show inline errors and types, you have what you need. Switching editors to learn Haskell adds a second learning curve for no benefit.
- Confirm the language server starts and reports types.
- Set format-on-save once and forget it.
- Learn to reload the REPL without leaving the file.
Formatter and linter: adopt the default style
Use the standard formatter with its default settings and stop arguing about layout. Consistent formatting makes diffs readable, and readable diffs make it easy to see what you actually changed. A linter that flags unused imports and incomplete patterns is worth enabling from day one; it catches real mistakes.
Packages: fewer, and from the curated set
Choose libraries that come from the curated package set matching your compiler, so versions resolve without a fight. Before adding a dependency for a small task, check its type signatures and see whether the standard library already covers it. Five lines of your own code is often better than a package you must maintain.
- Prefer a library with a short, clear type-level summary.
- Avoid anything unmaintained if a maintained alternative exists.
- Add one dependency at a time and rebuild between additions.
Testing: start with the simplest thing
You do not need a large test framework on day one. A file of example-based checks that runs with one command is enough, and it can grow into property-based testing later. Choose the tool that lets you run tests in one keystroke; that habit matters more than the library’s feature list.
Switch only when a tool blocks you repeatedly: builds you cannot debug, an editor that will not show errors, a formatter that fights your team. A single bad afternoon is not a reason to rebuild your setup, and every switch costs a week of unfamiliarity.
One compiler, one build tool, one editor with a language server, a formatter, and a curated package set. That is the whole kit, and it is deliberately dull.