Ah, indeed. This was helpful, thank you!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubsc
Hello,
I have a question regarding the Clojure spec split.
How would a diligent Clojure library author declare the core.specs
dependency in a Leiningen project? The core specs need to be available
during development, but they are not really a dependency if I never
refer to them anywhere: so I don
This isn’t only an optimisation but also a change in behaviour, isn’t
it?
Clojure 1.9.0-alpha3:
user=> (let [[x & xs] #{1 2 3}] x)
UnsupportedOperationException nth not supported on this type:
PersistentHashSet clojure.lang.RT.nthFrom (RT.java:948)
Clojure 1.9.0-alpha4:
user=> (let [[x & xs]
I have opened http://dev.clojure.org/jira/browse/CLJ-1929.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
firs
Another observation: it seems that the type inference stumbles only when
there is an overloaded method with the same arity (?):
(import 'java.time.format.TextStyle)
(let [builder (DateTimeFormatterBuilder.)]
(.appendZoneText builder TextStyle/FULL #{}))
This is a similar case in th
Hello,
I am getting a reflection warning in Java interop and don’t understand
why:
(import 'java.time.format.DateTimeFormatterBuilder
'java.time.temporal.ChronoField)
(set! *warn-on-reflection* true)
(let [builder (DateTimeFormatterBuilder.)]
(.appendText builder C
Hello Olivier,
perhaps 'reductions' would be a good fit here:
(let [times (reductions + 0 (map :duration events))]
(into [] (map #(assoc %1 :time %2) events times)))
Best,
--
David
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To pos
Would now be a good moment to bump the major version number to indicate
clearly to all clients ‘your software may break if you make the jump’?
Thank you,
--
David
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to
Very interesting. This covers a grab bag of exactly the stuff that’s
been bothering me. Thanks, Andrew.
--
David
Am Donnerstag, 25. Februar 2016 00:53:15 UTC+1 schrieb Andrew Oberstar:
>
> If you want to use reduce or transducers on a stream, you could take a
> look at ike.cljj (shameless plug)
Thanks, Alex and Gary.
I understand that Java 8 is not yet on the roadmap, so iterator-seq
seems like the best solution.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts fro
Hello!
For interoperation with Java, Clojure’s seq supports the Iterable
interface directly, which means that all Java collections are
automatically seqable. seq also supports the CharSequence and
java.util.Map interfaces, and arrays too.
Would it make sense to have seq also support java.util.str
11 matches
Mail list logo