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
As you can see, Set[Any] behavior still isn't great, but most people don't deal with Anys much anyway. Set[T] for any strongly-typed T is pretty-printed properly in the same way a literal would be written
Copied from SUGGEST-30:
In Scala REPL (interactive interpreter), type this:
The result does not put a quote on "1.2". Then the user cannot easily see what type each member is in the set. In addition, for the following:
Quotes are added for string with leading/trailing whitespaces. This adds inconsistency. Also considering the following:
Isn't the result confusing?
Please consider always adding quotes on strings in REPL result. Thank you.
PS: Original google group post for this issue is here:
https://groups.google.com/forum/#!topic/scala-user/xiXpEsCtnoA
The text was updated successfully, but these errors were encountered: