
Discover more from Overcoming Software
thoughts on Haskell and other software concerns
Continue reading
I recently wrote a tiny library `require-callstack` (GitHub link) that helps to solve an annoyance with Haskell’s callstacks. GHC automagically solves `HasCallStack`, so you can call a function that requires it without having a `HasCallStack` constraint around. This isn’t great, because it means the resulting callstack will be truncated.
I’ve posted the library to the Haskell Discourse as well, if you’d like to see what other folks think of it.
At some point, I’m going to write up a big post on making Haskell services more observable and easier to diagnose.