On 8/17/12 3:03 PM, Rich Morin wrote:
I took a break from reading "Programming Clojure, 2e" to watch Stuart's
InfoQ interview:
Stuart Halloway on Datomic, Clojure,
Reducers<http://www.infoq.com/interviews/halloway-datomic>
http://www.infoq.com/interviews/halloway-datomic
I have a couple of questions which I hope folks can answer...
Q: Is there an extended treatment of Clojure "data literals"?
Stuart discussed these, saying that they hit a sweet spot between XML and
JSON. I'd like to see an extended discussion of this topic, but Google is
letting me down. Any suggestions?
I haven't listened to the interview, but he was most likely referring to
the new "Reader Literals" (a.k.a. tagged literals) support in 1.4. The
best place to read about this new feature is in the changes.md of clojure:
https://github.com/clojure/clojure/blob/master/changes.md
I've been using the tagged literal support in my current app and it has
been very useful. I've been exporting streams of events as clojure data
structures that I have been replaying in the system at later times
(event sourcing). Being able to represent any arbitrarily object as my
own custom literal and have it be read in automatically in a language
supported way makes my life a lot easier. :)
-Ben
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en