Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print-table of nested map #70

Closed
awb99 opened this issue Oct 7, 2019 · 1 comment
Closed

print-table of nested map #70

awb99 opened this issue Oct 7, 2019 · 1 comment

Comments

@awb99
Copy link

awb99 commented Oct 7, 2019

Can I do something like

(print-table [ {:a {:b 1 :c 2} :d 3}  {:a {:b 4 :c 5} :d 6} ]
                  [ [:a :c]  :d] )

Result would be

:a :c     +  :d
+++++++++++++++
2         +  3
5         +  6

Nested maps are not supported by clojure.pprint/print-table
And I didn't find any other lib that would allow me to do that.

@brandonbloom
Copy link
Owner

Fipp doesn't do table layouts and there are no plans to add support for it. Table layouts require arbitrary-lookahead to decide how wide to make columns. Such unbounded needs are at odds with this project's performance goals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants