Alex:
I'd bet heavily on the "slower" ones being measurement noise (they only
differ by a few percent) - I typically see that much variation between
runs. I probably shouldn't have reported them as "slower" - 1-5% is (in my
experience) typically just noise, so don't think it's worth digging int
Hi,
http://dev.clojure.org/jira/browse/CLJ-916 reports that into loses
metadata; it is marked closed and fixed in 1.5. However, into still seems
to be losing metadata. The relevant code from 1.7-alpha6 (core.clj) is:
(if (instance? clojure.lang.IEditableCollection to)
(with-meta (pe
If you want caching behavior, then use it as a sequence. If you want faster
iteration, use it via reduce. The whole point of this change is to open the
faster reduce path, which you won't get if you also cache.
I did some research a few months back via crossclj looking at how people
typically u
The CLJ-916 commit
(https://github.com/clojure/clojure/commit/b5d0e84f92038449312bea4c31dcdedd499e28b8)
looks like it preserved meta on the to collection but did not merge meta
from the from collection, so as far as I can tell this is a new
enhancement. Feel free to file a ticket for that but
On Fri, Apr 3, 2015 at 8:06 AM, Alex Miller wrote:
> The CLJ-916 commit (
> https://github.com/clojure/clojure/commit/b5d0e84f92038449312bea4c31dcdedd499e28b8)
> looks like it preserved meta on the to collection but did not merge meta
> from the from collection, so as far as I can tell this is a
It’s not quite as stupid as it sounds and it’s mostly the result of factoring
out the config handling code from oolong[1]
https://github.com/jjl/ednsl/
https://clojars.org/ednsl
Happy hacking!
James
[1] https://github.com/jjl/oolong/
--
You received this message because you are subscribed t
> On Apr 1, 2015, at 11:16 AM, Alex Miller wrote:
>
> - eduction now takes multiple transformations, not just one, and composes
> them. This is designed for mechanical rewriting (hello tool developers!!) of
> ->> chains like this:
>
> (->> s (interpose 5) (partition-all 2))
>
> to this:
>
>
I understand your point and there are several competing comparisons here.
Generally only collection functions take the coll first. eduction is
similar to sequence (and into and reduce and transduce) in taking it last
(but differs in taking multiple xforms). The multiple xforms are similar to
->
(defn upd-vec [input-vector ids new-values]
(apply assoc input-vector (interleave ids new-values)))
(upd-vec [0 0 0 0 0] [1 3] [1.44 1.45])
;=> [0 1.44 0 1.45 0]
On Monday, March 30, 2015 at 8:05:44 PM UTC+2, Alexandr wrote:
>
> Hello everybody,
>
> How can I update values in the vector give
Hi!
I am happy to announce a new release of buddy, a security library for
clojure.
Since the buddy is split in different modules, here relevant changes across
all modules:
buddy-core:
- Add support for AEAD mode of operations (gcm)
- Add support for AES Key Wrapping algorithms.
- Add support fo
I would be awesome if you could provide links to some of the books, YouTube
videos, and clojure wrappers that you'd recommend.
On Thursday, April 2, 2015, A wrote:
>
> Clojure is an Amazing tool for data science. If people are slow to
> realize this, that is their disadvantage.
>
> The premise
Osgi brings in so many other things to worry about. Imo not a route to
consider. The main issue is every jar you use would have to have an osgi
friendly implementation. For this reason a lot of libs are duplicated after
source alteration into a new repo. Great for tightly controlled embedded
i am about to use emas and start to learn emacs lisp, would the study of
emacs lisp help to learn clojure, both of them are lisp dialect, so would
it take a long time to swich from emacs lisp to clojure?
i just want to learn clojure, but i wanna to start from emacs and emacs
lisp, is that an eff
If your goal is to learn Clojure, I would recommend not learning Emacs Lisp
at the same time, just to avoid confusion that may arise in your mind due
to the differences between the two.
You can use Emacs without learning Emacs Lisp with no problem. I've used
Emacs for 20 years, and only know a li
Agree with Andy. As a starter, it is better and faster to learn Clojure alone.
After you grasped one, the other lisps will be easy to follow.
Emacs has been the de facto goto choice for most here, it is highly recommended
to invest into it. Other than that, there're vim fireplace, as well as IDE
Hello, all,
The student application deadline has passed and we now have over twenty
student applications to review. We will not know for another week and a
half or so how many students we will be able to accept, and Google will
announce final decisions on the 24th.
In the meantime, I would like
You can definitely start using Emacs without having to learn Emacs Lisp.
Unless you're planning to write some custom extensions or customize your
setup wildly you can go a very long way with just cursory knowledge of
Emacs Lisp. At any rate - knowing any Lisp dialect makes it relatively easy
to pic
17 matches
Mail list logo