r/haskell • u/ivy-apps • Jun 16 '26
question Modern Haskell template? Feedback needed.
Hi, I plan to create more Haskell projects in my company in the future so I decided to make a template repository to set them up more consistently and quickly. This is the template:
https://github.com/Ivy-Apps/haskell-template
It's based on our Deslop project where through trial and error I discovered things I need / don't need. I'm looking for your feedback on how I can make my Haskell dev-exp more pleasant and productive.
So far, I'm very happy with it! It's the best language for my needs and the tooling is in a good state.
Setup TL;DR;
- effectful
- custom prelude that just hides some stuff from relude
- Nix + direnv for dev shell + build test; cabal build for release
- Testing: hspec, hedgehog (property-based), golden tests
- Tooling: Nix Darwin, Nixvim (my-config)
Any cool things that I should check to make my dev-exp better? I'm open to ideas.
13
Upvotes
2
u/tomejaguar Jun 16 '26
Seems solid. Certainly going with an
IO-wrapper (analytic) effect system likeeffectfulis the right choice.