Re: Doc strings for complex cases?

2017-11-08 Thread lawrence . krubner
I'm curious if it would be enough to write a macro that replaces defn in your code? The macro would secretly generate a different function for every arity, and therefore it could have a different doc-string for every arity, but it wouldn't have to appear that way in your code. Is that enough, or

[ANN] Marginalia 0.9.1 & lein-marginalia 0.9.1

2017-11-08 Thread Gary Deer
Marginalia 0.9.1 is out! Marginalia is a source code documentation tool that parses Clojure and ClojureScript code and outputs a side-by-side source view with appropriate comments and docstrings aligned. If you haven't yet, try it out in your project: Add [[lein-marginalia "0.9.1"]] to the :pl

Clojure wrapper for https://blockchain.info/api

2017-11-08 Thread eliassonaand via Clojure
blockchain.info provides an API for building bitcoin apps. This is a clojure wrapper for it. https://github.com/eliassona/bchain -- 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

Re: Dynamically Reify Interfaces

2017-11-08 Thread Timothy Baldridge
Eval gets a bad reputation from languages like JS where it's messy and a bit of a security risk. In Clojure, there's nothing wrong with using eval for something like this. On Tue, Nov 7, 2017 at 11:43 PM, Nick Mudge wrote: > I need to dynamically reify some java interfaces based on data from a >

Re: Who Uses import-vars?

2017-11-08 Thread platonovadim
I've used `import-vars` before, most notably in `java-time`. Even though I've never had any problems with the imported vars, I'm aware many people dislike the method so I'm writing the APIs in `$project.core` namespaces now. Would be great if anyone who had problems or is otherwise directly awa