Re: Coordinating STM with database?

2018-03-23 Thread Rob Nikander
On Friday, March 23, 2018 at 4:26:37 PM UTC-4, Andy Fingerhut wrote: > > I do not know what the result of that discussion was, but I would guess it > did not turn into a change that was incorporated into Clojure. In the > discussion thread you linked to, Dave Griffith mentioned attaching a

Re: Coordinating STM with database?

2018-03-23 Thread Andy Fingerhut
I do not know what the result of that discussion was, but I would guess it did not turn into a change that was incorporated into Clojure. In the discussion thread you linked to, Dave Griffith mentioned attaching a patch "to the group". I am pretty sure file attachments to Google groups went away

Coordinating STM with database?

2018-03-23 Thread Rob Nikander
Hi, I see this was discussed before. Did it go anywhere? Basic idea: make a `dosync` transaction succeed or fail along with a database transaction. https://groups.google.com/forum/#!topic/clojure/qiKnCVAaZKw Rob -- You received this message because you are subscribed to the Google Groups

new 'Programming at the REPL' guide on clojure.org

2018-03-23 Thread Val Waeselynck
A new guide on clojure.org, which aims at distilling years of experience using Clojure REPLs, for Clojure programmers of any experience level. https://clojure.org/guides/repl/introduction Feedback welcome! Thanks very much to everyone who participated in the genesis

Re: How to validate date (YYYYMMDD) using clojure

2018-03-23 Thread number 23
try re with clojure.core/re-matches On Tue, Mar 13, 2018 at 12:14 PM, Didier wrote: > (defn valid-mmdd? > [date] > ;; Here's the code that you would use in Java, but using Clojure > interop, which needs to return true/false if valid. > ;; So an example: > (try