Re: [ANN] Clojure 1.9.0-alpha8

2016-06-28 Thread Alex Miller
I've updated the spec guide for Clojure 1.9.0-alpha8 and I will add some more to it later about s/merge and probably some on the new instrument mock/stub capabilities. http://clojure.org/guides/spec Alex On Tuesday, June 28, 2016 at 5:13:25 PM UTC-5, Alex Miller wrote: > > Clojure 1.9.0-alpha8

Re: [ANN] Clojure 1.9.0-alpha8

2016-06-28 Thread Alex Miller
The two jiras are here: http://dev.clojure.org/jira/browse/CLJ-1910 http://dev.clojure.org/jira/browse/CLJ-1919 I'll be working on updating clojure.org docs tomorrow. Alex On Tuesday, June 28, 2016 at 9:39:58 PM UTC-5, Colin Fleming wrote: > > Is there a JIRA with details on the namespaced key

Re: [ANN] Clojure 1.9.0-alpha8

2016-06-28 Thread Colin Fleming
Is there a JIRA with details on the namespaced keyword changes? On 29 June 2016 at 11:48, Leon Grapenthin wrote: > This is fantastic. Spec really seems to turn out like a "killer-feature" > for Clojure. > > On Wednesday, June 29, 2016 at 12:13:25 AM UTC+2, Alex Miller wrote: >> >> Clojure 1.9.0-

Re: [ANN] Clojure 1.9.0-alpha8

2016-06-28 Thread Leon Grapenthin
This is fantastic. Spec really seems to turn out like a "killer-feature" for Clojure. On Wednesday, June 29, 2016 at 12:13:25 AM UTC+2, Alex Miller wrote: > > Clojure 1.9.0-alpha8 is now available. > > Try it via > > - Download: > https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha8 >

Re: [ANN] Clojure 1.9.0-alpha8

2016-06-28 Thread Leon Grapenthin
I welcome the current naming because for the naming to be consistent it is also necessary that names and forms of spec describe what is expected of specified data. In fact every does require every element to conform to a spec, not just some so it is semantically correct. (s/sample (s/and num

Re: [ANN] Clojure 1.9.0-alpha8

2016-06-28 Thread Alex Miller
The "every" part refers to requirement, not enforcement. Here "every" means that this is what the rule is (and not about how you verify them). I don't want to bikeshed the names - they have been discussed at length and they're not going to change. On Tuesday, June 28, 2016 at 5:37:22 PM UTC-5,

Re: [ANN] Clojure 1.9.0-alpha8

2016-06-28 Thread Daniel Compton
I know these were just changed from map-of and coll-of, but the names every and every-kv seem a little confusing. every and every-kv only sample from collections, whereas the name implies that everything in the collection is checked. Additionally, there is an every? in clojure.core which does check

[ANN] Clojure 1.9.0-alpha8

2016-06-28 Thread Alex Miller
Clojure 1.9.0-alpha8 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha8 - Dependency: [org.clojure/clojure "1.9.0-alpha8"] 1.9.0-alpha8 includes the following changes since 1.9.0-alpha7: The collection spec support has been greatly enhanced,

Re: [ANN] Killer: Functional Event Stream Processing in Clojure with Transducers

2016-06-28 Thread Jules
I thought that just having a backend was a bit boring, so over the last few days I have been working on a nice ClojureScript/SVG frontend. You can see the results in an animated gif that I have just added to the project's README. https://github.com/JulesGosnell/killer I'm keen to start thinkin

Re: Reflection needed ? More precise types returned from higher-order function (i.e. comp and partial) ?

2016-06-28 Thread Karsten Schmidt
Hi Bernard, firstly, thanks for the kind words! I think you're overcomplicating your problem and the extreme use of comp & partial would not help making things run v.smoothly (obviously depending on number of generated points / line segments). Instead I think you should look into matrix based tran

Reflection needed ? More precise types returned from higher-order function (i.e. comp and partial) ?

2016-06-28 Thread bernardH
Hi, Inspired by Karsten Schmidt's amazing work[0], I'm thinking about porting some generative code from python to Clojure[script]. However, I would like to use the (expected) performance boost (from python turtle module) to add some animation effects. I believe my current code is quite clean a