Re: Spaces between brackets?

2018-06-22 Thread Alex Miller
It's intentional and how the reader is implemented. The set of parseable tokens is intentionally decidable without more than 1 character of lookahead in the majority of cases. There are some corner cases but generally you're not going to run into them. On Friday, June 22, 2018 at 6:34:03 PM UTC

Re: ANN: ClojureScript 1.10.312, Improved Externs Inference & Webpack Guide

2018-06-22 Thread David Nolen
1.10.329 was released today, it addresses a few minor issues in 312 including an externs inference bug. David On Fri, Jun 15, 2018 at 10:50 AM, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code: https://github.com/clojure/cloj

Re: Spaces between brackets?

2018-06-22 Thread James Reeves
At least in edn they're not necessary: The delimiters { } ( ) [ ] need not be separated from adjacent elements by > whitespace. > I'd argue that it's more consistent to treat all elements the same, however, be they collection, keyword, symbol or whatever else. On Sat, 23 Jun 2018 at 00:34, Didie

Spaces between brackets?

2018-06-22 Thread Didier
Hi, I've noticed that it seems you can omit the space between brackets, and everything still parses as normal. I tend to prefer doing that in some instances, for example: (fn[a b] (+ a b)) It seems to hold in all scenarios, for example: [1 '...[2 3]] Yields [1 '... [2 3]] And [1[2[3]]] Y