6 ms·
The current dictionary syntax is actually typical for lisps, particularly this is exactly what Clojure does. It's just a series of elements except in this case
by Scriptor 16y ago
The current dictionary syntax is actually typical for lisps, particularly this is exactly what Clojure does. It's just a series of elements except in this case it's designed to look at every two elements as a pair.
What do you mean by it's inconsistent? Commas are the same both in dictionaries and anywhere else, they're completely optional.
- tmp48764 16y agoI take that back. I had no idea that {"a" 1 "b" 2} works when I made that comment.