Skip to content

Instantly share code, notes, and snippets.

@boxxxie
Created February 17, 2013 22:50
Show Gist options
  • Save boxxxie/4973902 to your computer and use it in GitHub Desktop.
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[...]
;;(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