|
|
|
|
|
by thelambentonion
3531 days ago
|
|
Servant is still _very_ rough around the edges, imo. I like it a lot for mocking APIs [0], but I'd be wary about using it in production for anything other than a small service. Right now I'm keeping an eye on servant-auth [1] and the GHCJS implementation of servant-client [2], as they're both extremely compelling. [0] Recently, I needed to test something against a work-in-progress API. I wrote out a rough type-level specification and had servant-quickcheck generate arbitrary data. When I needed to test more concrete data, it was trivial to incrementally move endpoints over to concretely defined stubs. [1] https://github.com/plow-technologies/servant-auth [2] https://github.com/LumiGuide/servant/tree/client-ghcjs |
|