Fork me on GitHub
#clojure-dev
<
2017-06-30
>
seancorfield00:06:02

Based on 37 responses to the survey all on 1.8.0 or later, I’m pretty comfortable moving java.jdbc‘s minimum supported version to 1.7.0 at this point… so that’ll be 0.7.0-beta2.

seancorfield00:06:30

@alexmiller FYI, I updated build_ci again for that…

ghadi14:06:42

@seancorfield re: 2-arity reduce: It's a good question and I don't have any satisfying answers.

ghadi14:06:25

this is a version of the generator/function that @hiredman was mentioning https://gist.github.com/ghadishayban/902373e247e920855139902912d237f0#file-generators-clj-L35-L58 For c.java.jdbc @seancorfield , you'd use it like so:

(supply #(when (.next rs) (extract-row rs)) nil)

ghadi14:06:53

i will probably change the second argument into a predicate rather than a sentinel value

alexmiller16:06:46

@seancorfield sorry for the delay, build box is updated

seancorfield16:06:26

Thanks @alexmiller — I only just got to my desk (West Coast) so the timing is good. I’ll force a rebuild and then go ahead and publish 0.7.0-beta1 only support Clojure 1.7+

seancorfield16:06:04

@ghadi The underlying suggestion there is “if these were in core, writing core to produce reducibles would be a lot easier” ?

ghadi16:06:39

that's one suggestion

ghadi16:06:53

it still doesn't solve the problem of the initless reduce arity exists

ghadi16:06:05

could throw an exception