I am not sure I understand your question. I will answer some questions with some of the same key words in them, and then you can decide if one of them was close to yours :)
Clojure includes clojure.core/read [1] and clojure.core/read-string, which can read any Clojure code, but they can be dangerous in allowing side effects, including arbitrary code execution, so they are really only intended for reading from trusted sources (e.g. code or data your wrote yourself). Since Clojure 1.5.1, it also includes clojure.edn/read [2] and clojure.edn/read-string. Those are intended for reading data in edn format. They have limitations, of which I don't remember them all, but IIRC at least one is that they cannot read back in records in some of the ways that Clojure code can print them out. They work well when the data you have is just lists, vectors, sets, maps, and primitive types. There is also the tools.reader library [3], which has its own implementations of all of the functions above, implemented in Clojure itself. If none of those is what you are looking for, can you rephrase your question? Andy [1] http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/read [2] http://clojure.github.io/clojure/clojure.edn-api.html#clojure.edn/read [3] https://github.com/clojure/tools.reader On Wed, May 27, 2015 at 6:02 AM, ronen <nark...@gmail.com> wrote: > Hey, I'm looking for an edn data read for clojure functions (similar to > https://github.com/Datomic/day-of-datomic/blob/master/resources/day-of-datomic/clojure-data-functions.edn > ) > > Is there any known implementation? > > Thanks > > -- > 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. > -- 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.