Http-tower-hs — A Rust Tower-inspired middleware library for Haskell
Haskell Community [Unofficial]
April 7, 2026
This would be extremely valuable for parsing e.g. a HTTP response into a response type for an API binding. fmap alone isn’t enough because you need to be able to turn a HTTP response into either a higher-level error from the remote service or the expected response type.
(I am specifically thinking of amazonka here, where the library has its own logging and retry logic baked in, and I’d love to be able to punt it in favour of just accepting a generic middleware for client retry logic.)
Discussion in the ATmosphere