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

Safe HaskellSafe-Inferred
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 

Instances

resp :: Parser Resp Source

An attoparsec parser to parse a single Resp value.