We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
puget.print/pprint failes when tried to print core.cache object. It because you cannot sort Cache type.
You can reproduce with below.
(require '[leiningen.exec :refer [deps]) (deps '[[org.clojure/core.cache "0.6.4"] [mvxcvi/puget "0.8.1"]]) (require '[clojure.core.cache :as cache]) (require '[puget.printer :as puget]) (def c (cache/ttl-cache-factory {:a 1})) (prn c) (puget/cprint c)
The text was updated successfully, but these errors were encountered:
Hmm, I'll take a look. As a workaround, you could use the :escape-types option to avoid pretty-printing these.
:escape-types
Sorry, something went wrong.
With 0.9.0 you can specify a custom print handler for core.cache objects to get around this behavior.
core.cache
greglook
No branches or pull requests
puget.print/pprint failes when tried to print core.cache object.
It because you cannot sort Cache type.
You can reproduce with below.
The text was updated successfully, but these errors were encountered: