I'm opening this pull request more for discussion than anything else. It does two main things:
Add support for base 4.13, also know as GHC 8.8.1. This required changing many Monad constraints to MonadFail. It also required changing some things to use Either String a explicitly, since Either String doesn't have a MonadFail instance.
Add support for network 3 and network-bsd. This required refactoring code that used deprecated APIs. I don't personally use Happstack's proxy feature, so I simply removed it rather than reimplement it with the new network API. That's almost certainly not acceptable, but it might be better to use something like http-client rather than network directly.
These changes work for me, and I'd like to get support for base 4.13 and network 3 into master, but I'm not sure this is the right way to do it.
I'm opening this pull request more for discussion than anything else. It does two main things:
Add support for
base
4.13, also know as GHC 8.8.1. This required changing manyMonad
constraints toMonadFail
. It also required changing some things to useEither String a
explicitly, sinceEither String
doesn't have aMonadFail
instance.Add support for
network
3 andnetwork-bsd
. This required refactoring code that used deprecated APIs. I don't personally use Happstack's proxy feature, so I simply removed it rather than reimplement it with the newnetwork
API. That's almost certainly not acceptable, but it might be better to use something likehttp-client
rather thannetwork
directly.These changes work for me, and I'd like to get support for
base
4.13 andnetwork
3 intomaster
, but I'm not sure this is the right way to do it.