msgpack-haskell icon indicating copy to clipboard operation
msgpack-haskell copied to clipboard

Add support for Integer of MessagePack class

Open evan0greenup opened this issue 1 year ago • 0 comments
trafficstars

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.

evan0greenup avatar Jan 02 '24 18:01 evan0greenup