Skip to content

Commit

Permalink
Formatting for ->cli
Browse files Browse the repository at this point in the history
  • Loading branch information
wallrat committed May 15, 2013
1 parent e804ed9 commit 96ff0da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/labs/redis/core.clj
Expand Up @@ -93,11 +93,11 @@
StatusReply (->str @r)
ErrorReply (str "(error) " (value r))
MultiBulkReply (if-let [values (seq (value r))]
(interpose "\n" (map #(str "(" %1 ") " (->str %2))
(interpose "\n" (map #(str "(" %1 ") " (->cli %2))
(iterate inc 0)
values))
"(empty list or set)")
IntegerReply (str "(integer)" (value r))
IntegerReply (str "(integer) " (value r))
(->str r)))))

;; low level redis protocol fns
Expand Down

0 comments on commit 96ff0da

Please sign in to comment.