Skip to content

Conversation

@jishnub
Copy link
Member

@jishnub jishnub commented Mar 11, 2025

On nightly v"1.13.0-DEV.186",

julia> CartesianIndex(3)
CartesianIndex(3,)

This PR

julia> CartesianIndex(3)
CartesianIndex(3)

The trailing comma is removed in the displayed form.

@jishnub jishnub added the display and printing Aesthetics and correctness of printed representations of objects. label Mar 11, 2025
Copy link
Member Author

@jishnub jishnub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As suggested, it should be possible join instead of adding another helper method

@jishnub jishnub merged commit 22805e6 into master Mar 15, 2025
5 of 7 checks passed
@jishnub jishnub deleted the jishnub/CartesianIndex_show branch March 15, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

display and printing Aesthetics and correctness of printed representations of objects.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants