Re: [ANN] clojure.math.combinatorics 0.1.0

2015-03-20 Thread Andy Fingerhut
Wow, I am amazed you are working to keep compatibility with Clojure 1.2 :-) Andy On Fri, Mar 20, 2015 at 2:55 PM, Mark Engelberg wrote: > Wow, I had forgotten how much had changed from Clojure 1.2 to 1.3 and > beyond. There were three separate incompatibilities with 1.2. > > I have addressed t

Re: [ANN] clojure.math.combinatorics 0.1.0

2015-03-20 Thread Mark Engelberg
Wow, I had forgotten how much had changed from Clojure 1.2 to 1.3 and beyond. There were three separate incompatibilities with 1.2. I have addressed them and pushed a 0.1.1 release which is backwards-compatible to 1.2. --Mark On Fri, Mar 20, 2015 at 7:11 AM, Alex Miller wrote: > Hey Mark, >

Re: [ANN] clojure.math.combinatorics 0.1.0

2015-03-20 Thread Alex Miller
Hey Mark, This latest release broke all the Clojure 1.2.0 and 1.2.1 builds for math.combinatorics (http://build.clojure.org/job/math.combinatorics-test-matrix/129/), I think due to using an assert arity that didn't exist then? We should either change the min version for the test matrix or modi

[ANN] clojure.math.combinatorics 0.1.0

2015-03-17 Thread Mark Engelberg
For a while now, the permutations function in the combinatorics library has had special handling for lists with duplicate items. Example: (permutations [1 2 3]) -> ((1 2 3) (1 3 2) (2 1 3) (2 3 1) (3 1 2) (3 2 1)) Example: (permutations [1 1 2]) -> ((1 1 2) (1 2 1) (2 1 1)) The new release, versi