@hackage binary-ext0.8.4.1
Binary serialisation for Haskell values using lazy ByteStrings
Installation
Tested Compilers
Dependencies (6)
- array
- base >=4.5.0.0 && <5
- binary
- bytestring >=0.10.2
- containers
- ghc-prim Show all…
Dependents (2)
@hackage/errors-ext, @hackage/acme-everything
binary-ext package
An alternate with typed errors for Data.Binary.Get monad from binary library.
Building binary-ext
Here's how to get the latest version of the repository and build.
$ git clone https://github.com/A1-Triard/binary-ext.git
$ cd binary-ext
$ stack build
Run the test suite.
$ stack test
Using binary-ext
First:
import Data.Binary.Put
import Data.Binary.Get.Ext
and then use the Get and Put monads to serialize/deserialize.
More information in the haddock documentation.