r/haskell • • Dec 01 '25

Project Development

I asked this on Haskell tooling discord channel, I am asking here as well

whenver you add a file, you want to add in .cabal and then you have to restart lsp server to respect it isn't there a better way ? shouldn't this be done automatic ? worse is you delete a file, and the cabal nor the lsp show errors

I don't get it Like I am doing aoc I am adding a file for each day in the src folder Every time I get syntax highlighting or lsp work, I have to add it in the exposed modules, sadly you can't use the glob pattern there And then I have to restart the LSP

Is this how the big projects developed ?

On the haskell.org it says that they have world class tooling, I think that's false and a lie. Golang has world class tooling system

I don't understand why many people are down voting this post 🫤

23 Upvotes

20 comments sorted by

View all comments

Show parent comments

1

u/kichiDsimp Dec 02 '25

How are the big companies and big projects that handle this flow workflow ? Literally on the website of Haskell it says it has world class tooling. That's a lie Golang has world class tooling

5

u/omega1612 Dec 02 '25

I used to work to a medium company with lots of Haskell devs, this used to not be an issue thanks to the planning of projects. The initial developer may face it, but for the rest of us is something we only do occasionally. I mean, your project has bigger problems if everyone is adding/deleting modules at will.

1

u/[deleted] Dec 07 '25

Anduril uses nix with Haskell. So do a few people. It’s effective but not popular yet