kolmodin / binary

Efficient, pure binary serialisation using ByteStrings in Haskell.
Other
105 stars 67 forks source link

Added comments for Float and Double instances #198

Closed jchia closed 1 year ago

jchia commented 2 years ago

This commit partially addresses #69, reducing user surprise by the non-round-tripping behavior of the Float and Double instances.

It is unfortunate that the following Haddock issue pushes typeclass instance documentation to be side notes, but at least the currently-added typeclass documentation is still visible on the resulting Haddock page. https://github.com/haskell/haddock/issues/300