In Clojure [...] is lexically read as a vector (similar to Scheme
#(..)). The Clojure eval then requires lambda arguments to be in a
vector rather than in a list.
>From what I notice, Clojure uses [ ] rather sparingly, so I think
indent should be ( )
On Wed, Oct 29, 2014 at 7:18 AM, David A. Wh
On Mon, 27 Oct 2014 02:04:42 +0100, martijn brekelmans
wrote:
> Hello everybody,
>
>
> I'm fiddling around with clojure, and I'd like to use readable with clojure.
I've looked a little more at implementing "readable" (at least some tiers) in
Clojure, beyond http://clojure.org/reader.
Without
On Mon, 27 Oct 2014 08:55:55 -0400, John Cowan wrote:
> Well, indentation can model () or it can model []; it can't do both.
> In CL or Scheme that doesn't matter, because [] is inessential. In
> Clojure it's essential.
I've been assuming that it'd model (). Interesting thought though.
You can
David A. Wheeler scripsit:
> Not at all. The whole point is to have a syntax that is general, and
> not tied to a particular semantic. Clearly it needs to be useful for
> a given semantic, but not tied to it.
Well, indentation can model () or it can model []; it can't do both.
In CL or Scheme tha
Not at all. The whole point is to have a syntax that is general, and not tied
to a particular semantic. Clearly it needs to be useful for a given semantic,
but not tied to it.
On October 26, 2014 10:43:17 PM EDT, John Cowan wrote:
>David A. Wheeler scripsit:
>
>> In Clojure, "{" is already take
David A. Wheeler scripsit:
> In Clojure, "{" is already taken for maps, and "#{" for sets. That
> interferes with {...} for infix.
More importantly, [] is used to enclose lambda variables and in other
situations in which Lisps use () for something other than application.
I think that Readable w
On Mon, 27 Oct 2014 02:04:42 +0100, martijn brekelmans
wrote:
> Hello everybody,
>
>
> I'm fiddling around with clojure, and I'd like to use readable with clojure.
> I've scanned the wiki and mailing list for any pointers on how to use
> readable within a clojure project, but found nothing.
>
Hello everybody,
I'm fiddling around with clojure, and I'd like to use readable with clojure.
I've scanned the wiki and mailing list for any pointers on how to use readable
within a clojure project, but found nothing.
Clojure uses leiningen as its project and dependency management. There's a