File: Reply.hs

package info (click to toggle)
haskell-scanner 0.3.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 164 kB
  • sloc: haskell: 810; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

module Redis.Reply
( Reply (..)
)
where

import Data.Int
import Data.ByteString (ByteString)

data Reply
  = String ByteString
  | Error ByteString
  | Integer Int64
  | Bulk (Maybe ByteString)
  | Multi (Maybe [Reply])
  deriving (Show, Eq)