Printing in a tagged literal data form

Description

Since Clojure 1.7, objects, functions, atoms and volatiles print in a tagged literal data form.

Clojurescript format is different

Environment

None

Attachments

1

Activity

Show:

import July 30, 2015 at 10:26 PM

Thanks for the fix.

I think there are still a few things missing.
Atom and volatile are still printed the old way: https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/core.cljs#L9053
As is "undefined", even though undefined is printed as nil because it is catched by the nil? clause:
https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/core.cljs#L8776

David Nolen July 30, 2015 at 10:03 PM

Ewen you need to submit a CA if you want to submit patches. Once you've done that you should assign tickets to yourself if you decide to work on them so people are aware of progress.

import July 30, 2015 at 9:52 PM

patch attached.

I have also made undefined printing to nil.

I hope that helps.

Completed

Details

Assignee

Reporter

Affects versions

Priority

Created July 28, 2015 at 11:18 PM
Updated July 30, 2015 at 10:26 PM
Resolved July 30, 2015 at 10:26 PM