Re: [ANN] Clojure 1.9.0 is now available!

2018-01-03 Thread Luc
Should have posted this instead, same protocol. (defprotocol Anonymous (start-job! [this])) ;; Clojure 1.8.0 => (defrecord NoopJob [] Anonymous (start-job! [this] (yabug.services.logger/environment))) (clojure.core/zipmap '(__meta this __extmap) [__meta this __extmap]) yabug.jobs

Re: [ANN] Clojure 1.9.0 is now available!

2018-01-03 Thread Luc
Thank you, I was not searching strictly for a bug or regression, a malpractice was also something I wanted to ear about. The let form generates this in both 1.8 & 1.9. No idea why the defrecord compiles in 1.8 but that could be related to the way it is expanded in each version. I don't see the p

[ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-03 Thread Edward Knyshov
Hi, I made a simple wrapper around java.util.zip. Basically it only allows you to compress files or unpack/process zip archives. There is nothing special about it, but it simplifies code a lot when dealing with zip files. It's an alpha release and I was just hoping that someone could take a look

Re: [ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-03 Thread Tim Visher
On Wed, Jan 3, 2018 at 6:56 AM, Edward Knyshov wrote: > Hi, I made a simple wrapper around java.util.zip. > Basically it only allows you to compress files or unpack/process zip > archives. > This looks neat. :) Have you considered targeting Java 7 and using the nio Zip FileSystem? https://docs.

Is it wrong that I'm thinking about this?

2018-01-03 Thread Steven Collins
This thread is a bit older, but since my team and I used prismatic/schema a lot and found the specification next to the definition of a function helpful, I published a library (https://github.com/lomin/sayang) that makes our migration from prismatic/schema to clojure/spec easier. Maybe this is h

Re: Is it wrong that I'm thinking about this?

2018-01-03 Thread Jeaye
I'll note, Orchestra added defn-spec in November and I forgot to mention it here. Docs: https://github.com/jeaye/orchestra#defn-spec On Wed, Jan 03, 2018 at 10:43:16PM +, Steven Collins wrote: > This thread is a bit older, but since my team and I used prismatic/schema a > lot and found the

Re: [ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-03 Thread Edward Knyshov
Thanks :) I haven't considered using nio Zip FileSystem just because I never heard of it, but I'll definitely check it out. Regarding targeting to java 7, should something like this set up targeting properly? :javac-options ["-target" "1.7" "-source" "1.7"] Edward. On Wed, Jan 3, 2018 at 8:29