kovas boguta <kovas.bog...@gmail.com> writes: > Chalk this up as another cautionary tale about global singletons.
It's dynamic, so it can be bound for a repl thread! > What we need is a parameterizable write-edn function, mirroring the > already extant read-edn. The function should guarantee it will either > write valid EDN, or throw an exception. It should also take as an > argument a map that allows one to specify the printing function for > any datatype. I think this makes sense as well. On casual reading it's not at all obvious why clojure.edn has a read function but no write. > With write-edn out of the way, we need a similar function optimized > for printing forms at the repl (with no guarantee that its output is > itself readable), and make it the default for the various repls. Agreed. Phil -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.