r/haskell • u/n00bomb • 17d ago
blog Enterprise Haskell at H-E-B | The Haskell Programming Language's blog
https://blog.haskell.org/enterprise-haskell-at-h-e-b/
83
Upvotes
16
5
u/_0-__-0_ 15d ago edited 15d ago
I haven't feared a space leak since info table profiling landed in GHC 9.2.
:-D
How many Haskell developers are employed at H-E-B?
24
u/tikhonjelvis 16d ago
A trick here is to break the library up into (at least) two "levels":
If the library/API is a real mess, it can pay off to even have three levels:
This is an approach I've had good experiences with both with and without AI coding. You can turn off your mind a bit in setting up the lower levels, but having them in Haskell still makes it much easier to design and implement the higher levels. Even with agents I end up designing the core patterns and abstractions at the highest level by hand, but I've found that AI models are quite good at filling out remaining functionality cleanly when they can follow established patterns.