packages feed

redis-resp 0.2 → 0.3

raw patch · 3 files changed

+11/−9 lines, 3 files

Files

redis-resp.cabal view
@@ -1,5 +1,5 @@ name:                redis-resp-version:             0.2+version:             0.3 synopsis:            REdis Serialization Protocol (RESP) implementation. license:             OtherLicense license-file:        LICENSE
src/Data/Redis.hs view
@@ -3,12 +3,9 @@ -- file, You can obtain one at http://mozilla.org/MPL/2.0/.  module Data.Redis-    ( module C-    , Resp (..)-    , resp-    , decode-    , encode+    ( module Data.Redis.Resp+    , module Data.Redis.Command     ) where  import Data.Redis.Resp-import Data.Redis.Command as C+import Data.Redis.Command
src/Data/Redis/Resp.hs view
@@ -5,7 +5,12 @@ {-# LANGUAGE MultiWayIf        #-} {-# LANGUAGE OverloadedStrings #-} -module Data.Redis.Resp where+module Data.Redis.Resp+    ( Resp (..)+    , resp+    , encode+    , decode+    ) where  import Control.Applicative import Control.Monad (replicateM)@@ -21,7 +26,7 @@  -- | 'Resp' defines the various RESP constructors. data Resp-    = Str   !ByteString -- ^ RESP simple atrings+    = Str   !ByteString -- ^ RESP simple strings     | Err   !ByteString -- ^ RESP errors     | Int   !Int64      -- ^ RESP integers     | Bulk  !ByteString -- ^ RESP bulk strings