Skip to content

Conversation

aplavin
Copy link
Member

@aplavin aplavin commented Dec 22, 2024

More consistency + cleaner output in some cases.
Details in individual commit messages, they are quite verbose.

For example, show result for @o Tuple(_.a[2]):
before: "Tuple ∘ (@o _.a[2])"
with this PR: "(@o Tuple(_.a[2]))"
Shows unqualified names for both functions (as before) and types. Nice when an optic uses a non-exported type from some module.
show_optic is not a public API, but convenient to use sometimes
before, it appended  " ∘ (@o _)" unnecessarily for objects that don't have explicit show_optic handling
@aplavin aplavin merged commit f0beb7f into JuliaObjects:master Dec 24, 2024
10 of 12 checks passed
@aplavin aplavin deleted the show branch January 7, 2025 22:48
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.

2 participants