Currently, Integer is not supported by msgpack-haskell. Integer is a arbitrary precision integer type for Haskell.
int in python is also arbitrary.
It would be nice to add support for Integer in class MessagePack.
The behavior can be same as Python, if the value is under the permitted range, the encode the value, otherwise raise an error.
Currently,
Integeris not supported bymsgpack-haskell.Integeris a arbitrary precision integer type for Haskell.intin python is also arbitrary.It would be nice to add support for
Integerin classMessagePack.The behavior can be same as Python, if the value is under the permitted range, the encode the value, otherwise raise an error.