News for hackers. Stuff that matters.
Re:That's a Lot of YAML by tremon on Thursday September 28, 2023 @03:31PM (#37694563)
This is the first data format I've seen that makes explicit distinction between lists and sets, which is good. But I'm not sure what the semantic distinction is between lists and vectors: in my mind, arrays and linked lists are implementation details of the data structure, not the data format.
Re:That's a Lot of YAML by waffletower on Thursday September 28, 2023 @03:35PM (#37694624)
The distinction between lists and vectors manifests from the same two distinct Clojure collection types. They are syntactically distinct within the language and are present to provide homoiconicity -- code as data -- Clojure lisp expressions can be represented in EDN. Vectors, [], are typically the preferred collection literal.