4 ms·
And Yesod is one of the worst options in Haskell, at least as far as making me wonder why it's doing so much magic. It's very much trying to build a fully integ
by chowells 4y ago
And Yesod is one of the worst options in Haskell, at least as far as making me wonder why it's doing so much magic. It's very much trying to build a fully integrated framework instead of being composable Haskell. (To be fair, the underlying parts written to implement it are composable Haskell, and re-used by a lot of other web server projects.)
- bradrn 4y agoI think ‘worst’ is very subjective here. It certainly does aim to be an all-encompassing ‘framework’ — but this is hardly unusual amongst web libraries (not just for Haskell!), and I feel Yesod gets the job done pretty well. Of course, Haskell has many alternatives if you don’t like Yesod: amongst other libraries, there’s Servant [0], snap [1], scotty [2], and the lower-level wai [3] and warp [4] if you feel the need for that kind of control. [0] https://hackage.haskell.org/package/servant https://hackage.haskell.org/package/servant [1] https://hackage.haskell.org/package/snap https://hackage.haskell.org/package/snap [2] https://hackage.haskell.org/package/scotty https://hackage.haskell.org/package/scotty [3] https://hackage.haskell.org/package/wai https://hackage.haskell.org/package/wai [4] https://hackage.haskell.org/package/warp https://hackage.haskell.org/package/warp