Created
February 17, 2013 22:50
-
-
Save boxxxie/4973902 to your computer and use it in GitHub Desktop.
How do i get (pprint) output looking like (prn) output?
I want to preserve the reader macro #db/id[...]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;(pprint (take 1 (mapcat identity schemas))) | |
({:db.install/_attribute :db.part/db, | |
:db/unique :db.unique/value, | |
:db/doc "user that this password will work for", | |
:db/id {:part :db.part/db, :idx -1000000}, | |
:db/ident :auth/user, | |
:db/valueType :db.type/ref, | |
:db/cardinality :db.cardinality/one}) | |
;;(prn (take 1 (mapcat identity schemas))) | |
({:db.install/_attribute :db.part/db, | |
:db/unique :db.unique/value, | |
:db/doc "user that this password will work for", | |
:db/id #db/id[:db.part/db -1000000], | |
:db/ident :auth/user, | |
:db/valueType :db.type/ref, | |
:db/cardinality :db.cardinality/one}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment