packstream: PackStream converter for Neo4j BOLT protocol

[ bsd3, data, library ] [ Propose Tags ]
Versions [RSS],,
Change log
Dependencies base (>=4.7 && <5), binary (>= && <0.11), bytestring (>= && <0.12), containers (>= && <0.7), data-binary-ieee754 (>=0.4.4 && <0.5), mtl (>=2.2.0 && <2.3), text (>= && <1.3) [details]
License BSD-3-Clause
Copyright (c) 2021, Pavel Yakovlev
Author Pavel Yakovlev
Category Data
Home page
Bug tracker
Source repo head: git clone
Uploaded by zmactep at 2021-05-27T07:56:03Z
Downloads 381 total (14 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-05-27 [all 1 reports]

Readme for packstream-

[back to package description]


Travis GitHub Build GitHub Build GitHub Build GitHub Build hackage hackage-deps

PackStream converter for Neo4j BOLT protocol


To build Haddock documentation run:

$ stack haddock

Usage example

ghci> :set -XOverloadedStrings
ghci> import Data.ByteString
ghci> import Data.PackStream
ghci> import Data.PackStream.Internal.Hex
ghci> hex (pack 100500)
ghci> hex (pack [True, False, True])
ghci> bs <- unhex "93C3C2C3" :: IO ByteString
ghci> unpack bs :: IO [Bool]
[True, False, True]
ghci> unpack bs :: IO [Value]
[B True, B False, B True]