Docstrings and metadata on protocol method signatures

2018-07-09 Thread baptiste . fontaine
Hello, I tried adding :doc and :added metadata on a protocol method signature but found it hard to do: ;; defn-like, docstring then metadata map -> nope (defprotocol P (foo "mydoc" {:added "1.0"} [_])) ; => CompilerException java.lang.IllegalArgumentException: Parameter declaration missing, com

[?] How to alias the ClojureScript namespaces in macros

2018-07-09 Thread Philos Kim
Refer to https://groups.google.com/forum/#!topic/clojurescript/oP4qFdPRm2Q or https://gist.github.com/philoskim/496a01dc8d71b83c678c866874310871 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups

[TIP] How to alias the ClojureScript namespaces in macros

2018-07-09 Thread Philos Kim
Refer to https://groups.google.com/forum/#!topic/clojurescript/oP4qFdPRm2Q or https://gist.github.com/philoskim/496a01dc8d71b83c678c866874310871 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups

Complete Web Development Setup Using Clojure CLI Tools

2018-07-09 Thread Gary Johnson
Howdy Clojurians, I recently started developing a new Clojure+Clojurescript web application, and I wanted to see if I could set up my development environment using just the Clojure CLI tools. After a good deal of digging around through tutorials on a number of different websites and a fair amou

Re: Complete Web Development Setup Using Clojure CLI Tools

2018-07-09 Thread Gary Johnson
Hi again, folks. Just to make it easier for everyone to use this template right away, I put all these files into a public git repository on Gitlab. Here's the URL: https://gitlab.com/lambdatronic/clojure-webapp-template Happy hacking! ~Gary -- You received this message because you are sub

Re: What is the minimal Emacs config for practical Clojure development?

2018-07-09 Thread Sonny To
Not sure what you mean by minimum but here's instruction on setting up a dev environment that works for me http://lambdakids.stigmergy.systems/2018/6/6/hello-world.blog my emacs init.el is at https://bit.ly/2z3gtyi On Monday, July 2, 2018 at 6:41:23 AM UTC+3, Austin Haas wrote: > > I don't want

Re: group rows on basis of value in a column in CSV with clojure

2018-07-09 Thread Christopher Small
You may want to take a look at my library semantic-csv, which lets you cast rows as maps instead of vectors, so that you can group-by a column name instead of a positional index. https://github.com/metasoarous/semantic-csv On Saturday, July 7, 2018 at 11:07:50 PM UTC-7, Varun J.P wrote: > > Hi