redis-resp-0.4.0: REdis Serialization Protocol (RESP) implementation.

Safe HaskellSafe
LanguageHaskell2010

Data.Redis.Resp

Synopsis

Documentation

data Resp Source

Resp defines the various RESP constructors.

Constructors

Str !ByteString

RESP simple strings

Err !ByteString

RESP errors

Int !Int64

RESP integers

Bulk !ByteString

RESP bulk strings

Array !Int [Resp]

RESP arrays

NullArray 
NullBulk 

resp :: Parser Resp Source

An attoparsec parser to parse a single Resp value.