std.block.layout.estimate

*readable-len*

dynamic

estimate-multiline

added in 4.0

(estimate-multiline form opts)

creates multiline function

estimate-multiline-basic

added in 4.0

(estimate-multiline-basic form {:keys [readable-len], :or {readable-len (or (:readable-len (meta form)) *readable-len*)}})

does basic estimation

estimate-multiline-data

added in 4.0

(estimate-multiline-data form opts)

estimation for maps and sets

estimate-multiline-list

added in 4.0

(estimate-multiline-list form opts)

estimates if special forms are multilined

estimate-multiline-vector

added in 4.0

(estimate-multiline-vector form opts)

estimation for vectors

get-max-width

added in 4.0

(get-max-width form)

gets the max width of whole form

get-max-width-children

added in 4.0

(get-max-width-children children)

gets the max with of the children