REST API wrapper library design - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

James King

I found a great article this morning on designing Haskell libraries to wrap REST APIs:

I'm presently working on one to wrap the Microsoft Power BI REST APIs and some of Azure Active Directory and this seems like a great approach. I've seen other libraries like github take rather different approach. Is there one you find more ergonomic and pleasing to use?

James King

The amazonka libraries are much different as well, relying heavily on mtl.

Mats Rauhala

As soon as it mentioned type families I got a bit apprehensive about the rest.

IMO simpler is better when it comes to libraries that are to be consumed by others.