sweet! how about some clojure?: (for [[k v] (partition 2 [:a [:b :c] :d [:e :f]])] {[k "foo"] (f "bar" v)})
Conversation
(or at least the other kind of nesting, like [{"" (["", [], {}])}])
1
Replying to
[:a [:b :c] :d [:e :f]] got split in half, and `partition` does not get recognized as a single form anymore, tho it is
1
Replying to
(partition 2 [a [b c] d [e f]]) is a function call partition(2, list), where list=[a [b c] d [e f]]
3
Replying to
invalid: remove any opening/closing [[[]], or switch order, e.g. [()] -> [(]), or mismatch [{)]
1
Replying to
thank you very much for this clear explanation! I hope to find the solution at this enigma…
1
Replying to
if you need a test text - this one is very good example: github.com/clojure/clojur wish you to succeed!
1

