-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 27.04.2016 16:29, Jason Felice wrote:
>
>
> On Tue, Apr 26, 2016 at 7:42 PM, PlĂnio Balduino
> mailto:pbaldu...@gmail.com>> wrote:
>
>
> * Is there a way to compile C++ code at runtime? This would be
> essential for the REPL and for Macros. -
Sorted maps are maps but they have an additional constraint that the keys
must be comparable according to the map's comparator.
Clojure intentionally does not define a total sort order crossing types
(there is no such ordering that makes sense).
You are however free to define your own comparato
Thank you for the response. Isn't that a leaky abstraction? Now all clients of
rename-keys woild have to care what the key type is. At the very least both
should implement Comparable and have some kind of general response for sorting.
--
You received this message because you are subscribed to
Sorted maps sort their keys, but keywords and strings are not comparable:
(sorted-map "a" 1 :b 2)
ClassCastException java.lang.String cannot be cast to clojure.lang.Keyword
clojure.lang.Keyword.compareTo (Keyword.java:114)
On Thursday, April 28, 2016 at 3:54:33 PM UTC-5, JPatrick Davenport
Hello,
Please explain to me what's going on here. The first code snippet causes
the following error: "ClassCastException clojure.lang.Keyword cannot be
cast to java.lang.String java.lang.String.compareTo (String.java:111)" The
second code snippet doesn't. My understanding is that a *map* is a *
data.zip is a library for filtering trees, and XML trees in particular
using zippers.
- README and source: https://github.com/clojure/data.zip
- Leiningen dependency information: [org.clojure/data.zip "0.1.2"]
Changes in 0.1.2:
- DZIP-3 - fix issue with matching tag= for xml
- DZ
Hi all,
I have recently been playing with futures and have stumbled on the
following situation.
(defn test-f1 [initial-v]
(let [n (atom initial-v)]
[n
(future (while (not (Thread/interrupted))
(Thread/sleep 5000)
(swap! n inc)
(println @n))
"Powered by our advanced data engine, Quartet works with health plans and
health systems to provide actionable population insights that improve
patient outcomes and reduce overall costs. We are transforming the way
substance abuse and mental health care is being delivered. Empowering the
clinic
Relatedly, Chez Scheme was just released as open source:
https://github.com/cisco/chezscheme
which is a native code optimizing scheme compiler. Maybe there are some
ideas that can be drawn from this.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To
Looking at it again, it seems like the current docstring is quite up to
date. Are sure you are on the latest version?
On Wednesday, April 27, 2016 at 9:31:46 PM UTC+2, Alan Thompson wrote:
>
> Thanks for the update. I verified the true/false behavior and submitted a
> JIRA: http://dev.clojure.o
10 matches
Mail list logo