Fork me on GitHub
#cider
<
2015-08-07
>
bozhidar08:08:15

not at the moment

bozhidar08:08:08

pretty printing is implemented using middleware

bozhidar08:08:44

but that wasn’t always the case

bozhidar08:08:08

so right now you can just override the pretty printing function

bozhidar08:08:45

going forward maybe we can invest some efforts in making this more flexible, although the real issue is probably replacing pprint with something better

bozhidar08:08:01

this is pretty low on my todo list, so someone else will have to work on it if they want to see done soon

enn19:08:15

Thanks for the link to the ticket. I’ll take a look at the middleware. My motivation is that I’d like to be able to use a printer which displays metadata along with the value.

enn19:08:15

…and now I see there is already clojure.core/*print-meta* which will do what I need.

malabarba20:08:01

Beware though that pprint doesn't completely respect *print-meta*

malabarba20:08:41

println does, but just saying your milleage will vary depending on the printer you use

enn20:08:39

Yeah. It looks like Fipp does though. Maybe I will take a crack at that ticket.