[ANN] re-graph 0.1.13 - the GraphQL client for Clojure/script

2020-06-02 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.13 . re-graph is a GraphQL client for Clojurescript and Clojure with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. Many thanks to @loomis

Re: bit-wise operators for bigint in Clojure

2020-06-02 Thread Niels van Klaveren
Clojure 1.10: (and 4N 8N (bigint Integer/MAX_VALUE)) => 2147483647N (or 4N 8N (bigint Integer/MAX_VALUE)) => 4N On Tuesday, May 26, 2020 at 6:39:51 PM UTC+2, Harmon Nine wrote: > > Hello. > > I noticed a post about this from 2013, so doing a bump. > > The bit-wise operators appear to be support

Re: bit-wise operators for bigint in Clojure

2020-06-02 Thread Niels van Klaveren
Clojure often leaves implementations to the backing platforms, and Clojurescript probably has no difference in the methods of the different numerical types. Java does, so you'd have to fall back on that. Something like: (defn big-or [f & r] (reduce (fn [acc v] (.or acc (biginteger v))) (bigi