Skip to content

even friendlier compact show - #205

Closed
aplavin wants to merge 1 commit into
JuliaObjects:masterfrom
aplavin:show
Closed

aplavin wants to merge 1 commit into
JuliaObjects:masterfrom
aplavin:show

Conversation

@aplavin

@aplavin aplavin commented Aug 2, 2025

Copy link
Copy Markdown
Member

Doesn't change the default show – it remains parseable, same as before.
Tweaks compact show: it already wasn't Julia-parseable, here I make its output even friendlier. See examples in the tests! Mechanism is reasonably extensible, with the internal _shortstring function receiving is_compact argument.

@aplavin

aplavin commented Mar 22, 2026

Copy link
Copy Markdown
Member Author

after thinking more about this – too much special casing for default behavior, imo
functionality is available in AccessorsExtra – use its sprint(AccessorsExtra.show_optic, youroptic)

@aplavin aplavin closed this Mar 22, 2026
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

Successfully merging this pull request may close these issues.

1 participant