Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong pprint #287

Closed
darkleaf opened this issue Jan 20, 2019 · 3 comments
Closed

Wrong pprint #287

darkleaf opened this issue Jan 20, 2019 · 3 comments

Comments

@darkleaf
Copy link
Contributor

@darkleaf darkleaf commented Jan 20, 2019

Datascript 0.17.1
Clojure 1.10.0
Java 11
JVM environment

(let [db (d/empty-db)
      db (d/db-with db [{:db/id 42
                         :a :a-val
                         :b :b-val}
                        {:db/id 43
                         :c :c-val
                         :d :d-val}])]
  (clojure.pprint/pprint db))

output:

{42 :a, 42 :b, 43 :c, 43 :d}

I spent time to debug this. But I have no idea how to fix this.

@darkleaf

This comment has been minimized.

Copy link
Contributor Author

@darkleaf darkleaf commented Jan 22, 2019

@tonsky Do you have an idea how to fix this? I may help.

@tonsky

This comment has been minimized.

Copy link
Owner

@tonsky tonsky commented Jan 22, 2019

looking...

@tonsky tonsky closed this in 1c05edd Jan 23, 2019
@darkleaf

This comment has been minimized.

Copy link
Contributor Author

@darkleaf darkleaf commented Jan 24, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.