Fork me on GitHub
#reveal
<
2022-02-22
>
sheluchin15:02:42

Is it possible to have output represented using namespace map literals?

vlaaad20:02:39

Hi! What do you mean? #:foo{:bar 1} ?

vlaaad21:02:13

Not possible now, can be implemented if there is interest

sheluchin21:02:17

Wouldn't hurt, especially for smaller displays, but it's not the end of the world either.

vlaaad21:02:40

I wrote it down to my list of improvements to consider, I also thought reveal could respect settings like *print-length* or *print-meta* in addition to *print-namespace-maps*

gratitude-thank-you 1
sheluchin21:02:25

Maybe an option for using defined aliases, if available? Like #::foo {:bar 1} where foo might just be an alias for something much longer. Relevant: https://clojure.atlassian.net/browse/CLJ-2123

sheluchin21:02:43

Auto-resolved keywords, that is.

vlaaad21:02:10

Clojurists Together are sponsoring my work on test runner 🎉 https://www.clojuriststogether.org/news/q1-2022-funding-announcement/

👍 7