On Thu, Jan 5, 2017 at 6:45 AM, Tianxiang Xiong
wrote:
> So clearly a check is also made *after* evaluating the key forms. I'm
> just not sure why we need to check *before* evaluating the key forms.
>
Because Clojure is a lisp. Code is data. {(java.util.UUID/randomUUID) 1
(java.util.UUID/randomU
Thanks for the response.
You encouraged me to actually download atom and proto-repl. Now, I can see
that many of my questions are answered just by configuring each.
I get it!
Thanks, again.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post
* 2017 : The Art, Science, and Engineering of Programming*
April 3-6, 2017, Brussels, Belgium
http://2017.programming-conference.org
This is interesting. I did want to point out though that at least for me I
can't see links in your current styling.
[image: Inline image 1]
On Thu, Jan 5, 2017 at 9:18 AM, Alex Miller wrote:
> I thought this might be interesting to some here:
>
> http://blog.cognitect.com/blog/2017/1/3/spec-des
Yeah. I know the code isn't styled either. Eventually someone will get
around to fixing it. But it's not going to be me, today. :)
On Friday, January 6, 2017 at 3:22:14 PM UTC-6, Tim Visher wrote:
>
> This is interesting. I did want to point out though that at least for me I
> can't see links i
doseq is a macro that accepts comprehension clauses like "for", so doseq is
a straight translation of for that is eager (but still uses seqs
internally) and swallows its body's results.
run! is like more like (doall (map f xs)), except it swallows results and
uses "reduce" for speed and efficie
I've used associative destructing in the usual fashion:
some-app.core=> (def m {:a 1 :b 2})
#'some-app.core/m
some-app.core=> (let [{:keys [a b]} m] (str a "-" b))
"1-2"
but what is going on here:
some-app.core=> (def li '(:a 1 :b 2))
#'some-app.core/li
;; Wat?
Thanks! Sounds like multiple war files would be the right way for me.
Unfortunately, I'm falling into the original problem with finding
information on how to do this...
Got any links to articles on how to do this?
Thanks!
On Tuesday, January 3, 2017 at 7:12:54 PM UTC-5, Sean Corfield wrote:
>
A list/seq (not a vector) which is destructured as a map will be first read
into a map as by (apply hash-map the-seq)
This curiosity exists so the "keyword argument" idiom works:
(defn my-options [_ & {:keys [a b] :as options}]
options)
=> #'user/my-options
(my-options nil :a 1 :b 2 :c 3)
=> {