Stylish Haskell is a code formatter for the Haskell language. In this post, we'll go through how the application works and give you a glimpse of what it's like working with the codebase.
After more than two years of writing production code using Haskell at Klarna, we've learned a ton. Initially we leaned a lot on
ReaderT but now we've gone back to the drawing board of how we structure our applications.
In this article, we'll go through how we went from a
ReaderT based polymorphic approach to a MTL style approach that does not have the dreaded
n^2 instances issue.