Re: Is it possible / is support planned to add docstrings to clojure.spec specs?

2016-07-12 Thread Daniel Compton
There’s a ticket for this at http://dev.clojure.org/jira/browse/CLJ-1965 if you want to vote/watch/comment. On Wed, Jul 13, 2016 at 8:07 AM Nils Grunwald wrote: > I would find this very interesting, especially for generating easily > shareable documentation... > > > Nils > > > On Thursday, June

Re: Is it possible / is support planned to add docstrings to clojure.spec specs?

2016-07-12 Thread Nils Grunwald
I would find this very interesting, especially for generating easily shareable documentation... Nils On Thursday, June 2, 2016 at 8:39:12 AM UTC+2, Russell wrote: > > Just been trying out clojure.spec for the first time, looks really nice. > It would be good to be able to do something like the

[ANN] pedestal-api 0.3.0 release - better Swagger compliance

2016-07-12 Thread Oliver Hine
Hi all, pedestal-api is a library for building APIs on the pedestal web server. It implements the parts of HTTP that are useful for APIs and allows you to document your handlers and middleware using idiomatic Clojure and generate a compliant Swagger specification. This 0.3.0 release contains i

Re: [ANN] http-kit 2.2.0 final is out

2016-07-12 Thread Oliver Hine
This is awesome work, thank you to you and all the contributors. On Tuesday, 12 July 2016 07:55:09 UTC+1, Peter Taoussanis wrote: > > On Clojars, and GitHub at: https://github.com/http-kit/http-kit/releases > > This release was put together with the help of (23!) individual > contributors. > > En

Re: Is it possible / is support planned to add docstrings to clojure.spec specs?

2016-07-12 Thread Alex Miller
It's under consideration. On Thursday, June 2, 2016 at 1:39:12 AM UTC-5, Russell wrote: > > Just been trying out clojure.spec for the first time, looks really nice. > It would be good to be able to do something like the following: > > (clojure.spec/def > "The name of the stage, which API Gatewa

Re: Is it possible / is support planned to add docstrings to clojure.spec specs?

2016-07-12 Thread Radford Smith
This seems like a useful addition. Is this something that could be included in Clojure 1.9? On Wednesday, June 1, 2016 at 11:39:12 PM UTC-7, Russell wrote: > > Just been trying out clojure.spec for the first time, looks really nice. > It would be good to be able to do something like the followin

Re: How I can access protected field of superclass from my generated by "gen-class" subclass?

2016-07-12 Thread Roc King
(ns demo.protectedfield [:gen-class :extends clojure.lang.ARef :exposes {validator {:get getvalidator :set setvalidator}}]) Is this what you are looking for? After compile, you will get a class that extends clojure.lang.ARef (compile 'demo.protectedfield) (instance? clojure.lang.ARef (dem

Re: Thoughts on clojure.spec

2016-07-12 Thread Maarten Truyens
I would also truly appreciate instrumentation of function outputs for manual outputs. I understand the rationale for not having it as the default, but could it perhaps be specified as an option s/instrument? (Considering that it was present in the first alphas, I would assume that such option s