You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A more nuanced approach to justifying (aligning) pairs in bindings, maps, and cond functions. zprint now looks at the variance of the left-hand elements of the pairs to decide on justification. zprint will leave out up to two rows with very different left-hand elements to try to get the variance below a configured minimum. Try it with {:style :justified}
Two new styles to make (ns (:require ...)) clearer. {:style :require-justify} will isolate the namespaces on the left and align (justify) the next column. {:style :require-pair} will do about the same, but not align the next column.
Quoted lists are now assumed to be data, and formatted as such. If you don't like this, use {:fn-map {:quote :none}} to restore the previous behavior.
The are function now formats readably.
Fixed a number of bugs, see the CHANGELOG.md for details.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
New in this release:
cond
functions. zprint now looks at the variance of the left-hand elements of the pairs to decide on justification. zprint will leave out up to two rows with very different left-hand elements to try to get the variance below a configured minimum. Try it with{:style :justified}
(ns (:require ...))
clearer.{:style :require-justify}
will isolate the namespaces on the left and align (justify) the next column.{:style :require-pair}
will do about the same, but not align the next column.{:fn-map {:quote :none}}
to restore the previous behavior.are
function now formats readably.CHANGELOG.md
for details.This discussion was created from the release zprint-filter-1.1.2.
Beta Was this translation helpful? Give feedback.
All reactions