Generating a deck of cards in Clojure using generator functions (a la Python)

2017-03-14 Thread Alan Thompson
A recent post to StackOverflow asked for clarification on different ways of generating a deck of cards. The OP had used nested `for` with `flatten` and `map-indexed` but

Re: Handling dependency conflicts

2017-03-14 Thread Howard Lewis Ship
We have some very, very complex projects that bring in boat-loads of dependencies, some of which will have version conflicts, if left unchecked. I've created a Leiningen plugin, vizdeps, to make it easier to see the artifact tree, identify and repair conflicts, and determine why any particular

[ANN] core.async 0.3.442

2017-03-14 Thread Alex Miller
core.async 0.3.442 is now available. Try it via: [org.clojure/core.async "0.3.442"] 0.3.442 includes the following changes: - Fixed bad use of :refer-clojure that was failing with the new core specs in 1.9.0-alpha15 -- You received this message because you are subscribed to the Google

Re: [ANN] Clojure 1.9.0-alpha15 is now available

2017-03-14 Thread Dmitri
On Tuesday, March 14, 2017 at 1:45:13 PM UTC-4, Alex Miller wrote: > > Yes, this is a bad use of refer-clojure which fails with the new spec. It > has been fixed and a release job for core.async is waiting on the build box. > > On Tuesday, March 14, 2017

Re: [ANN] Clojure 1.9.0-alpha15 is now available

2017-03-14 Thread Alex Miller
Yes, this is a bad use of refer-clojure which fails with the new spec. It has been fixed and a release job for core.async is waiting on the build box. On Tuesday, March 14, 2017 at 12:38:53 PM UTC-5, Dmitri wrote: > > looks like the latest core.async fails Spec validation with alpha15: > >

Re: [ANN] Clojure 1.9.0-alpha15 is now available

2017-03-14 Thread Dmitri
looks like the latest core.async fails Spec validation with alpha15: Caused by: clojure.lang.ExceptionInfo: Call to clojure.core/refer-clojure did not conform to spec: In: [2] val: (quote :as) fails at: [:args :exclude :op :spec] predicate: #{:exclude} In: [2 1] val: :as fails at: [:args

Re: [ANN] Clojure 1.9.0-alpha15 is now available

2017-03-14 Thread Alex Miller
Looks like while CLJ-1793 was ok'ed for this alpha, it was missed when the patches were applied, so that one will not be in until the next alpha. Whoops! On Tuesday, March 14, 2017 at 11:39:35 AM UTC-5, Alex Miller wrote: > > Clojure 1.9.0-alpha15 is now available. > > Try it via > > -

[ANN] Clojure 1.9.0-alpha15 is now available

2017-03-14 Thread Alex Miller
Clojure 1.9.0-alpha15 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha15 - Leiningen: [org.clojure/clojure "1.9.0-alpha15"] 1.9.0-alpha15 includes the following changes since 1.9.0-alpha14: - CLJ-1793 - reducer instances hold onto the head

[ANN] Ansible roles for deploying Clojure + book on using them

2017-03-14 Thread Daniel Higginbotham
Hi everyone, I'm happy to announce the release of the first Brave Clojure Quest: Deploying Your First Clojure App ...From the Shadows ! Like *Clojure for the Brave and True*, this book is free online. The larger purpose of the book is to enable