edn-format / edn

Extensible Data Notation
2.62k stars 96 forks source link

Ordered Map? #4

Closed nahuel closed 12 years ago

nahuel commented 12 years ago

What about an ordered map syntax? Many XML applications use the implicit definition order, maybe using ordered maps is better than using lists for some tasks.

jrus commented 12 years ago

Can’t you just use an extension for that? #nahuel/omap [key1 val1, key2 val2, key3 val3] or whatever?

nahuel commented 12 years ago

Sure, but is a common case, so maybe it deserves his own native syntax.

richhickey commented 12 years ago

I don't think it does. You are treading into document territory there, and documents are well served by *ml.

On Sep 10, 2012, at 10:58 PM, Nahuel Greco wrote:

Sure, but is a common case, so maybe it deserves his own native syntax.

— Reply to this email directly or view it on GitHub.