Am I correct in saying that this conversation is at least partly related to
the question of "Will Clojure ever support reader macros?" And for now the
answer is "no". Because with reader macros, programmers could change the
meaning of ":".
On Friday, September 23, 2016 at 7:13:30 PM UTC-4,
Timothy Baldridge wrote:
> The syntax (I think) comes from Ruby although they call keywords "symbols".
The reader syntax for Common Lisp's keywords has the leading colon too.
John
--
You received this message because you are subscribed to the Google
Groups
On Sep 23, 2016 4:40 PM, wrote:
>
>
>
> On Friday, September 23, 2016 at 4:22:04 PM UTC-4, tbc++ wrote:
>>
>>
>> So that would be my rationale for it..it's easy to see by the first
character of a term what data structure the term will become (
On Friday, September 23, 2016 at 4:22:04 PM UTC-4, tbc++ wrote:
>
>
> So that would be my rationale for it..it's easy to see by the first
> character of a term what data structure the term will become (
> https://en.wikibooks.org/wiki/Learning_Clojure/Reader_Macros). And that's
> just one of
e.com;
> {:headers {:foo ["bar" "baz"], :eggplant "quux"}})
>
>
> would just read so much better as:
>
> (client/get "http://example.com;
> {headers: {foo: ["bar" "baz"], eggplant: "quux"}})
: ["bar" "baz"], eggplant: "quux"}})
So I was wondering, is there any reason Clojure couldn't *also* support
keywords with a backside colon notation?
*I had only one issue with Cryogen, for which the error message was
completely useless. But I was able to work ou