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

For every struct, overload Base.show() and Base.summary() #422

Open
odunbar opened this issue Nov 21, 2024 · 0 comments
Open

For every struct, overload Base.show() and Base.summary() #422

odunbar opened this issue Nov 21, 2024 · 0 comments

Comments

@odunbar
Copy link
Collaborator

odunbar commented Nov 21, 2024

Issue

Some of the distributions and objects are very unwieldy especially when printing to terminal IO

Possible Solution

Inspiration: @glwagner at Oceananigans.jl

  • Providing Base.show() methods (and improving those that currently exist) would improve the user experience in the REPL.
  • Also look into Base.summary() functions which can provide something cleaner than nameof(typeof(...)) calls in error messaging etc.
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

1 participant