You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, show displays units that are cannot be copy-pasted into Julia REPL. This makes serializing expressions impossible if the expression contains unitful objects.
julia>using Unitful
julia> unit =u"m/s";
julia>show(unit)
m s⁻¹
julia> :(x =$unit)
:(x = m s⁻¹)
In Julia, by convention, pretty print should only be done on MIME methods, and default show should do roundtrip
The text was updated successfully, but these errors were encountered:
Currently,
show
displays units that are cannot be copy-pasted into Julia REPL. This makes serializing expressions impossible if the expression contains unitful objects.In Julia, by convention, pretty print should only be done on MIME methods, and default
show
should do roundtripThe text was updated successfully, but these errors were encountered: