basilisp.pprint

fn (print-table rows)[source]
fn (print-table ks rows)

Print a collection of maps as a table to the buffer currently bound to basilisp.core/*out*.

If there is at least one element in rows, a header row will be printed followed by a single divider row followed by a line for each element in rows.

If no keys are given (as ks), then use the keys returned from the first element in rows (as by (keys (first rows))). Note that in this case, the order of headers in the resulting table is based on the order of keys returned by basilisp.core/keys.