I'm confused by the differences between haskell and python clients for msgpack. This:
import Data.MessagePack as MP
import Data.ByteString.Lazy as BL
BL.writeFile "test_haskell" $ MP.pack (0, 2, 28, ())
and this:
import msgpack
with open("test_python", "w") as f:
f.write(msgpack.packb([0, 2, 28, []]))
give me the different files:
$ diff test_haskell test_python
Binary files test_haskell and test_python differ
Can anybody explain, what I'm doing wrong? Maybe I misunderstood something about ByteString
usage?