Re: Puzzling list comp error: "Don't know how to create ISeq from: clojure.lang.Keyword"

2014-08-30 Thread Alexey Kachayev
Thread-first macro -> will insert list-of-lists as first argument for map, which is definitely not what you expect. Use threading-last ->> instead. 2014-08-30 18:48 GMT+03:00 gvim : > On 30/08/2014 15:07, Alexey Kachayev wrote: > >> for macro expects each pair to b

Re: Puzzling list comp error: "Don't know how to create ISeq from: clojure.lang.Keyword"

2014-08-30 Thread Alexey Kachayev
for macro expects each pair to be either binding-form/collection-expr or one of known modifiers (:let, :when, :while). Here: plan (keyword (first l)) you give a pair of binding-form and keyword (which is really impossible to iterate over). If you meant let-binding for plan, dec, min and long, u

Re: RICON CFP open - anyone submitting?

2014-08-12 Thread Alexey Kachayev
I wanted to submit a talk to share my experience with implementing CRDTs in Clojure and building riak_core-like cluster. But put it aside cause there are still too many unresolved problems and question without proper answers. I talked at local meetup a month ago about deterministic parallel and di

Lamina and channels-driven concurrency with Clojure

2012-07-23 Thread Alexey Kachayev
Hi, everybody! Rob Pike gave an interesting talk on latest Google I/O "Go Concurrency Patterns" with excellent examples of how to write simple but powerful concurrency code using goroutines and channels (his talk on youtube: http://www.youtube.com/watch?v=f6kdp27TYZs&feature=youtu.be). My idea was

Re: Is still idiomatic the ant simulation code?

2012-06-11 Thread Alexey Kachayev
Guys, can you please share link where I can find the "ants demo" code? -- Alexey Kachayev, CTO at KitApp, Inc. On Friday, June 8, 2012 at 4:44 PM, Stuart Sierra wrote: > The ants demo is definitely dated. It's not terrible, but the code could use > some polishing/si