Java like static typing for Clojure?

2016-10-15 Thread A. Levy
Have you heard of Typed Clojure? (http://typedclojure.org) It is an optional, gradual type system for Clojure. Does it offer enough to be useful or are you looking for something different? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

Guidelines/Recommendations for namespaces and qualified keywords

2016-10-15 Thread Josh Tilles
I’ve got a couple questions for Alex Miller and/or the other Cognitect folks. 1. *Are single-segment namespaces still “bad” when it comes to registering specs under qualified keywords?* In the past, single-segment namespaces have been discouraged in the Clojure community—both

Re: Possible ClojureScript compiler issue...

2016-10-15 Thread Antonin Hildebrand
Unfortunately, this problem is not specific to `js->clj` only. I believe in general under :advanced optimizations, any object which was created or modified by a code which was not subject of the same closure compiler optimization pass could exhibit similar problems when used with ClojureScript

Re: Clojure advent calendar: call for contributions

2016-10-15 Thread Yehonathan Sharvit
I'm in also. I'd love to present this amazing lib https://github.com/ztellman/automat On Saturday, 15 October 2016 14:26:47 UTC+3, Borkdude wrote: > > I posted this call for contributors to Reddit. Maybe there are many people > like me there, who don't read this group regularly. > > Anyway, it

Java like static typing for Clojure?

2016-10-15 Thread Didier
I know a lot of people like to say how unhelpful Java like static typing is, and only more powerful type systems of the ML family add value, but I've been wondering recently if for Clojure it wouldn't make more sense to simply extend the type hints to enable an optional Java like static typing

Re: Possible ClojureScript compiler issue...

2016-10-15 Thread John Szakmeister
On Sat, Oct 15, 2016 at 2:49 PM, David Nolen wrote: > This issue is somewhat to be expected if you're going to use `js->clj`. This > issue has nothing to do with ClojureScript compiler versions - you just got > lucky before. Google Closure will collapse properties, but

Re: Possible ClojureScript compiler issue...

2016-10-15 Thread David Nolen
This issue is somewhat to be expected if you're going to use `js->clj`. This issue has nothing to do with ClojureScript compiler versions - you just got lucky before. Google Closure will collapse properties, but some of these collapsed properties are going to be used to determine protocol

[ANN] graphql-clj: An Clojure library provides GraphQL implementation

2016-10-15 Thread Lei
Hi All, I am pleased to announce the release of graphql-clj, a library that provides GraphQL implementation in Clojure. https://github.com/tendant/graphql-clj For those who are not familiar with GraphQL. GraphQL is a query language for APIs and a runtime for fulfilling those queries with

[ANN] graphql-clj: An Clojure library provides GraphQL implementation

2016-10-15 Thread Lei
Hi All, I am pleased to announce the release of graphql-clj, a library that provides GraphQL implementation. https://github.com/tendant/graphql-clj For those who are not familiar with GraphQL. GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing

Possible ClojureScript compiler issue...

2016-10-15 Thread John Szakmeister
I've been using ClojureScript rather successfully for a year now, but ran into an interesting issue recently. I've discovered that js->clj isn't quite working as expected. After quite a bit of tearing things down and apart, I discovered it was one of the keys in some JSON data coming back from

Re: Any interest in a data-driven build tool?

2016-10-15 Thread Colin Yates
I can't offer any time unfortunately but you can certainly have a chunk of my interest - will be fascinating to see how this pans out. On 15 October 2016 at 15:46, James Reeves wrote: > I've been playing around with an idea for a new build tool that I'm > currently calling

Any interest in a data-driven build tool?

2016-10-15 Thread James Reeves
I've been playing around with an idea for a new build tool that I'm currently calling "Hop", and I was wondering if there was any interest from the community. I've gotten the barest minimum working here: https://github.com/weavejester/hop Hop uses a data-driven build file, and rather than

Re: Liberator with ring-cors

2016-10-15 Thread Sean Johnson
Kenny, Take a look at this repo: https://github.com/open-company/open-company-api We're using Liberator with: [jumblerg/ring.middleware.cors "1.0.1"] Works fine... The middleware handles the CORs portion of the response:

[ANN] boot-bundle, DRY for dependencies

2016-10-15 Thread Borkdude
Only a few lines of code, but it does the job: https://github.com/borkdude/boot-bundle This library lets you define a set of dependencies by a keyword. Details in the README. I found it especially useful in a multi-project repo where we use a lot of the same dependencies in each project.

[ANN] clj-xchart – A charting/plotting library for Clojure

2016-10-15 Thread Jean Niklas L'orange
Hi Clojurians, I am happy to announce clj-xchart ! XChart is a lightweight charting library for Java. clj-xchart wraps this library and tries to be a succinct yet evident charting library for Clojure. The library can

Re: Clojure advent calendar: call for contributions

2016-10-15 Thread Borkdude
I posted this call for contributors to Reddit. Maybe there are many people like me there, who don't read this group regularly. Anyway, it seems a fun idea. Count me in. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: Clojure advent calendar: call for contributions

2016-10-15 Thread Borkdude
I posted this call for contributors to Reddit. Maybe there are many people like me there, who don't read this group regularly. Anyway, it seems a fun idea. Count me in. On Saturday, October 15, 2016 at 10:59:07 AM UTC+2, James Laver wrote: > > (bump) > > At the minute, including myself there

Re: [ANN] permissions - role & permission based access control

2016-10-15 Thread Torsten Uhlmann
@larry I added bitmask permissions to https://github.com/tuhlmann/permissions together with a set of unit tests and a description in Readme. Please have a look if you like. I don't think I will ever use it as I'm quiet content with the literal approach. But it was an interesting exercise to

Re: Clojure advent calendar: call for contributions

2016-10-15 Thread James Laver
(bump) At the minute, including myself there are five volunteers. If we don't get a few more, we just won't have enough material to do this, which would be a shame. Come on clojure community, we can do this! /j On Sunday, October 9, 2016 at 2:00:41 PM UTC, James Laver wrote: > > Hi all, > >

Re: core.async top use cases

2016-10-15 Thread Gordon Syme
I've used agents to wrap thread-unsafe mutable Java objects with a defined life cycle, so that they could be used from multiple threads whilst respecting the life cycle. My particular case was server-side gRPC StreamObservers for long lived client connections. These are either usable, closed,