I do not understand something this example:
https://clojuredocs.org/clojure.core/merge#example-54c7b859e4b0e2ac61831cdf
Specifically:
(defn baz [& options]
>(let [options (merge {:opt1 "default-1" :opt2 "default-2"}
> (first options))]
> options))
> (baz {:o
What?
Clojure contrib wrapper for JDBC
org.clojure/java.jdbc 0.6.0 “gold” release
https://github.com/clojure/java.jdbc#change-log
The “gold” release of java.jdbc is now available after several alpha / RC
builds over the past month. This release provides a cleaned up API tha
Hi all,
The next version of system 0.3.0 is ready and it is a matter of days before
the official announcement.
In the meantime, here is a summary of the research that has been carried
around the Clojure runtime and code reloading.
http://danielsz.github.io/2016/05/06/Ghosts-in-the-machine
E
On Monday, April 25, 2016 at 4:12:13 PM UTC-4, JvJ wrote:
>
>
>
> The main motivation would be performance gains.
>
Sounds like competing performance-wise with the JVM is extremely difficult.
My best guess is that a successful new Clojure implemention will have these
qualities:
* be interpret
I do not think we will extend into to support array sources.
If your source is a vector, then vector seqs are actually really fast and
into-array is probably not as bad as you think, however it won't apply the
xf.
into is just doing transduce internally though and transducers are agnostic
to h
I've been working on a custom implementation of a map called a hist-map,
which keeps a history of additions and removals in its metadata, so that
full diffs are not necessary.
I want to make persistent and transient versions of this map. Both
versions should support certain common operations,
That is very good to know.
On Tuesday, 10 May 2016 20:30:41 UTC-7, Alex Miller wrote:
>
> range is reducible and boils down to just a local loop in most cases, so
> shouldn't create any heap garbage (well, other than whatever your reducing
> function does).
>
> See:
>
> https://github.com/cloju
Hi,
The other day I was trying to do an
(into (long-array 0) xform some-vec)
which doesn't work, then I realized there is *into-array* for that,
however, it turns everything into a *seq* first.
Is there any plans for extending *into* to hand primitive array, or
rewriting *into-array* to do awa