Re: Transitive spec generation

2018-02-27 Thread James Gatannah
On Tuesday, February 27, 2018 at 12:45:26 AM UTC-6, Didier wrote: > > Don't fully understand what you are doing, > (Slightly) bigger picture, I have a pair of functions that serialize/deserialize maps where the values are mostly fixed-length byte arrays. I want to verify that they round-trip

Re: [?] Adding my own function to clojure.core namespace

2018-02-27 Thread Kurt Harriger
You might also have a look at a library called vinyasa > https://github.com/ardumont/vinyasa > You can can add it to your lein profile to copy functions into clojure.core and prefix them. The prefix makes it very clear that these are not part of standard clojure.core. (inject

Re: Why does the `def-` not exist?

2018-02-27 Thread Alex Miller
On Tuesday, February 27, 2018 at 1:13:52 PM UTC-6, Leon Grapenthin wrote: > > I'm sure you'd all use def- if it existed. Even if you could just type the > much simplified ^:private, use an editor snippet, refer your own macro, or > create a whole new namespace for it. You'd do none of that.

Re: [?] Adding my own function to clojure.core namespace

2018-02-27 Thread Colin Fleming
On 25 February 2018 at 23:42, Gary Fredericks wrote: > For clojure (not cljs, yet) I proxy all the dev utilities I might want to > use in a namespace called `.` so I can refer to it everywhere no matter > what the local namespace setup is: https://github.com/ >

Re: Why does the `def-` not exist?

2018-02-27 Thread Leon Grapenthin
I'm sure you'd all use def- if it existed. Even if you could just type the much simplified ^:private, use an editor snippet, refer your own macro, or create a whole new namespace for it. You'd do none of that. You'd totally fall for the trap and type def-, the syntactic aid that should not be

Re: [ANN] clj 1.9.0.348 and tools.deps.alpha 0.5.398

2018-02-27 Thread Alex Miller
On Tue, Feb 27, 2018 at 12:36 AM, Didier wrote: > Another question, after installing it, if I run clj and then do: > > (require '[clojure.spec.aplha :as s]) > > ^^ typo: aplha > I get: > > FileNotFoundException Could not locate clojure/spec/aplha__init.class or >

Re: [ANN] clj 1.9.0.348 and tools.deps.alpha 0.5.398

2018-02-27 Thread Alex Miller
On Tue, Feb 27, 2018 at 12:23 AM, Didier wrote: > There was a small bug with the install script around the man pages for me > on a fresh openSuse Tumbleweed install. > > /usr/local/share/man/man1 did not exist. Specifically, > /usr/local/share/man did not exist, so I had to

Re: Russ olsen's Clojure Book

2018-02-27 Thread Alex Miller
The books page only lists books after their final release. I found that many books have drifting publish dates and don’t always proceed to completion so decided on this guide for when to add things. -- You received this message because you are subscribed to the Google Groups "Clojure" group.

[ANN] Another one implementation of JSR 223 (Java Scripting API) for Clojure

2018-02-27 Thread Oleg Vershinin
Here is a link: https://github.com/overshinin/clojure-jsr223 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your

Re: Is there some central information available on Java 9 compatibility for Clojure and tools

2018-02-27 Thread Ivan Pierre
There are already some posts about the work to do (a little bit) Java 9 was recently released on September 21st, 2017. If you’re a Clojure developer, you’re probably keen to try it out to see some of the new features and performance improvements available. To do so, you need to do a few