Re: Cases of `RT/canSeq`

2017-05-03 Thread Mikera
Clearly not necessary from a functional perspective. However I believe the ordering of these tests will affect JVM optimisations. You want to test the common/fast cases first. And the JVM does some clever things with caching most recently used lookups, which will again behave differently if you

[ANN] com.walmartlabs/lacinia 0.16.0

2017-05-03 Thread Howard Lewis Ship
Lacinia is an open-source implementation of Facebook's GraphQL specification, in Clojure. GraphQL is an outstanding approach to getting diverse clients and servers exchanging data cleanly and efficiently. The GitHub repository is https://github.com/walmartlabs/lacinia Documentation: http://lacin

Re: Getting a password from command line and repl

2017-05-03 Thread Guillermo Vayá Pérez
Thank you! I'll try it that way. sorry it took me so long to notice, I thought I'd be notified or maybe I missed it. On Thursday, April 13, 2017 at 3:08:16 AM UTC+2, Denis Fuenzalida wrote: > > I had a look and the problem with approach #2 is that the signature of > readLine expects 2 args: a f

Re: [ANN] Clojure 1.9 / clojure.spec split

2017-05-03 Thread Steve Miner
Before the spec split, the basic way to invoke Clojure at the command line was: % java -cp clojure.jar clojure.main Documented here: https://clojure.org/guides/getting_started Is that still the intended usage with 1.9 going forward? When I try it wi

Re: [ANN] Clojure 1.9 / clojure.spec split

2017-05-03 Thread Alex Miller
Going forward, you will need to create your classpath with three jars: Clojure, spec.alpha, and core.specs.alpha. There are some more things planned in this area still to come. We do not currently plan to build a combined jar but things may change. The web page in question will be updated when 1

Re: potential bug with pr-str+print

2017-05-03 Thread Matching Socks
One more risk of (print ...), for debugging, is that it pollutes the results of functions that use (with-out-str ...). Consider using clojure.tools.logging instead. Setting it up takes some brainpower, but the investment is well worth while. -- You received this message because you are sub