-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Display of array elements seems to use ::Mime:text/plain in juia1.5.0-beta1 #36072
Comments
cf. #34734 |
Check the |
OK. If I understand
should be replaced by
I hope the documentation and/or the release notes for 1.5 make this clear. I could not get it from |
I feel the issue is not closed, because checking
I want to show the type only if it has not been shown already. Actually, exploring the
so this leaves me confused, because the role of |
That's because of #22981 --- In any case, |
I am not sure this is a bug, but at least it is an incompatible change which demands some explanation on how to proceed to get the same effect as before.
It is convenient to use a compact display when displaying array elements which does not reflect the type (which is no problem since the
eltype
is displayed at the beginning of the array display). On the other hand when the element is displayed alone the type can be written first to show it.Here is an example of what I mean for a type "integers mod p" that I define:
In julia1.5.0-beta1 the display of the array has changed, it seems to use
::MIME"text/plain"
What is the recommended way to get the same effect as before?
The text was updated successfully, but these errors were encountered: