Re: Keys in EDN maps: keywords or symbols

2019-10-24 Thread James Reeves
On Thu, 24 Oct 2019 at 16:48, Anton Vodonosov wrote: > Regarding the idea that a keyword is an identifier that designates itself, > while a symbol is a keyword that designates something else. > > Keys in config file map do not designate themselves, they designate the > corresponding map values. >

Re: Keys in EDN maps: keywords or symbols

2019-10-24 Thread David Chelimsky
I think James talking about resolution of values when he said "designates", not "the value bound to a key in the map." In other words, the keyword :email resolves to the keyword :email, whereas the symbol clojure.core/vec resolves to a function. Keywords-as-keys give you some benefits when you'

2nd Call for Contributions: BOB 2020 [Feb 28, Deadline Nov 8]

2019-10-24 Thread Michael Sperber
Clojure submissions are very welcome at BOB! (Also note that :clojureD is on the very next day!) BOB Conference 2020 "What happens when we use what's best for a change?" http://bobkonf.de/2020/cfc.html Berlin, February 28

Re: Keys in EDN maps: keywords or symbols

2019-10-24 Thread Anton Vodonosov
Regarding the idea that a keyword is an identifier that designates itself, while a symbol is a keyword that designates something else. Keys in config file map do not designate themselves, they designate the corresponding map values. {username "vasya" email "a@b.c"} Here the EMAIL symbo

Re: Keys in EDN maps: keywords or symbols

2019-10-24 Thread James Reeves
In edn, a keyword is an identifier that designates itself, while a symbol is a keyword that designates something else. This means keys in a map should generally be keywords, unless they identify something beyond themselves. For example: {:profiling/function-count {clojure.core/vec 10}} On Th

Re: [ANN] Cognitect Labs' aws-api 0.8.352

2019-10-24 Thread David Chelimsky
DISREGARD The correct release number is 0.8.383. See https://groups.google.com/forum/#!topic/clojure/8sdm5VW5tmU On Thursday, October 24, 2019 at 8:23:48 AM UTC-5, David Chelimsky wrote: > > Cognitect Labs' aws-api 0.8.352 is now available! > > CHANGES in 0.8.352 > >- Make http calls to fetc

Re: Keys in EDN maps: keywords or symbols

2019-10-24 Thread Jason Felice
My personal opinion is to prefer keywords, and prefer less preprocessing of the configuration before the program uses it. If it gets to a place where the configuration changes a lot, and a "natural" (read: clojure-like) expression of the configuration in EDN has either a lot of redundancy, or bits

[ANN] Cognitect Labs' aws-api 0.8.383

2019-10-24 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.383 is now available! CHANGES in 0.8.383 - Make http calls to fetch credentials async / non-blocking. CHANGES from 0.8.378 (previously unannounced) - Include service full names in latest-releases.edn #32

[ANN] Cognitect Labs' aws-api 0.8.352

2019-10-24 Thread David Chelimsky
Cognitect Labs' aws-api 0.8.352 is now available! CHANGES in 0.8.352 - Make http calls to fetch credentials async / non-blocking. CHANGES from 0.8.378 (previously unannounced) - Include service full names in latest-releases.edn #32