The output shown for types of `list` and `tuple` is identical
Opened this issue · 3 comments
anjiro commented
Description
Cell output for types of list
and tuple
is identical if the contents of the collection is identical. For example:
Suggested solution
Instead of representing a tuple as
[ 3 items
0: 1
1: 2
2: 3
]
show it as
( 3 items
0: 1
1: 2
2: 3
)
This would be in line with the representation of the dict
type which uses curly braces.
Alternative
No response
Additional context
No response
mscolnick commented
This would maybe a be a bit tricky. These get converted to JSON types (that output is called the json-viewer), so set/list/tuple all get converted to array
bluss commented