Re:Real World Haskell
by mrkeen on Friday November 06, 2020 @12:32PM
(#25009364)
As a huge fan of Servant, have you got a replacement I should check out?
[ Parent
| on HN ]
Re:Real World Haskell
by Ericson2314 on Friday November 06, 2020 @03:20PM
(#25010760)
No ...but
I use github.com/obsidiansystems/obelisk/ at work (I work at the place that makes it). It does it's own thing for user-visible routes (for frontend and backend because automatic prerendering). It does a different thing for requests and live queries all of which are over websockets for simplicity.
Our routes stuff should be pulled out as a generic dual parsing-prettyprinting library (it and https://hackage.haskell.org/package/tomland are the same basic ideal, just need to remove the concrete HTTP / TOML specifics to get to the commonality).
I once started throwing together like servant but using data kinds in https://github.com/ericson2314/matrix-client