lein try com.taoensso/carmine ;; try is from
https://github.com/rkneufeld/lein-try
(def server-connection {:pool {:max-active 8}
:spec {:host "localhost"
:port 6379
:timeout 4000}})
car/hgetall "yyy"))
["pass" "yy" "yyy" "yyy"]
(wcar* (car/hgetall* "yyy"))
{"pass" "yy", "yyy" "yyy"}
But what I want (or expect) is what I set before:
{:yyy "yyy", :pass "
Thank you very much!
--
tao
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Sunday, February 9, 2014 at 1:06 AM, mynomoto wrote:
> You can use:
>
> (into {} (map (fn [[k v]] [(keyword k) v]) {"pass" "yy", "yyy" "yyy"}))
>
after use your solution, I looked up the source code of carmine and found that:
(wcar* (car/hgetall* "yyy" true))
can get what I want.
Thank you!
--
tao
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Sunday, February 9, 2014 at 9:34 AM, tao wrote:
> Thank
It’s a great book, but require you to play with the code when you read the book.
--
tao
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Thursday, February 20, 2014 at 12:14 AM, Laurent Droin wrote:
> For what it worth... I bought this book because I thought it would be a gr
the same as the title.
--
tao
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are
http://pedestal.io/
http://www.luminusweb.net/
--
tao
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Thursday, December 26, 2013 at 5:06 AM, Massimiliano Tomassoli wrote:
> Hi,
> I'm not sure if Clojure is the right language for me. I'd like to use Clojure
Yes, I feel framework is a patch to a language. Use framework can do some thing
productively, but also limit you do some thing poorly.
Prefer Libraries to Frameworks
http://blog.getprismatic.com/blog/2012/4/5/software-engineering-at-prismatic.html
--
tao
Sent with Sparrow (http
.
I already read this tutorial
(http://www.unexpected-vortices.com/clojure/10-minute-emacs-for-clojure.html),
but I cannot found the method.
sorry for disturb. :)
--
tao
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
--
--
You received this message because you are subscribed to the
C-x h selects the entire buffer. C-M-\ reindents the selected region.
http://stackoverflow.com/questions/11423566/how-do-i-intelligently-re-indent-clojure-in-emacs
sorry, I have found the answer.
--
tao
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Friday, January 3, 2014 at
10 matches
Mail list logo