Closed akegalj closed 7 years ago
Any progress with merging?
I independently fixed this issue a while ago in https://github.com/TokTok/hstox because I ran into it and was unaware of this PR. Recently, I split off that code into https://github.com/TokTok/hs-msgpack where the issue is also fixed. If you like, I can try to rebase my code on your branch.
If you would like your changes to be part of a hackage package, consider contributing them to https://github.com/TokTok/hs-msgpack, which is released as https://hackage.haskell.org/package/data-msgpack.
Congratulations, you have done the same work I did a few months ago: https://github.com/TokTok/hs-msgpack/blob/master/src/Data/MessagePack/Generic.hs
Why don't we work together?
I will close it as it doesn't seem relevant any more. Reopen if needed
Previous
MessagePack Maybe
instance was hanging. This patch should fix that. Tests forMessagePack
were updated withMaybe
tests.Besides that,
Maybe ()
was ambiguous withMaybe Nothing
(Nothing
was encoded as()
was, withObjectNil
). To resolve it we have encoded()
as empty vector. UsingMaybe ()
doesn't make much sense, but here is the fix anyway.On some machines, when using
localhost
as host forexecClient
, exception "Exception: connect: does not exist (Connection refused)" is thrown. I am not sure is this underlying OS problem, but as tests are run on the same machine it makes sense to change this to127.0.0.1
. This doesn't throw an exception.Fix documentation
runClient
->execClient
.