Re: Identifying objects that cannot be read

2015-06-18 Thread Richard Möhn
I mean, as long as that's the only case, it's fine. But I don't know what cases there are… -- 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 -

Re: Identifying objects that cannot be read

2015-06-18 Thread Richard Möhn
Am Mittwoch, 3. Juni 2015 11:05:03 UTC+9 schrieb Alex Miller: > > Try pr with 1.7.0-RC1 ... Meh: user=> (def bla 4) #'user/bla user=> (pr-str #'bla) "#'user/bla" user=> (edn/read-string (pr-str #'bla)) RuntimeException No dispatch macro for: ' clojure.lang.Util.runtimeException (Util.java:221

Re: Identifying objects that cannot be read

2015-06-03 Thread Richard Möhn
Am Donnerstag, 4. Juni 2015 00:10:33 UTC+9 schrieb Marshall Bockrath-Vandegrift: > > Richard Möhn > writes: > > > How do I remove from a nested datastructure the objects whose (pr obj) > > representation doesn't comply with the EDN specification? Fx, > > {:a 1 :b (find-ns 'user)} → {:a 1} >

Re: Identifying objects that cannot be read

2015-06-03 Thread Marshall Bockrath-Vandegrift
Richard Möhn writes: > How do I remove from a nested datastructure the objects whose (pr obj) > representation doesn't comply with the EDN specification? Fx, > {:a 1 :b (find-ns 'user)} → {:a 1} > Or, easier, how do I just not print these objects? Additionally/alternatively to the 1.7.0 changes

Re: Identifying objects that cannot be read

2015-06-02 Thread Richard Möhn
Am Mittwoch, 3. Juni 2015 11:05:03 UTC+9 schrieb Alex Miller: > > Try pr with 1.7.0-RC1 ... Awesome. -- 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

Identifying objects that cannot be read

2015-06-02 Thread Alex Miller
Try pr with 1.7.0-RC1 ... -- 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

Identifying objects that cannot be read

2015-06-02 Thread Richard Möhn
How do I remove from a nested datastructure the objects whose (pr obj) representation doesn't comply with the EDN specification? Fx, {:a 1 :b (find-ns 'user)} → {:a 1} Or, easier, how do I just not print these objects? I want to extract the metadata maps from arbitrary Clojure objects and write