question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Type printing isn't consistent

See original GitHub issue

Compare List vs scala.collection.immutable.List:

Welcome to Scala.next (pre-alpha, git-hash: unknown)  (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_121).
Type in expressions to have them evaluated.
Type :help for more information.
scala> List(1, 2.0)
val res0: List[Double] = List(1.0, 2.0)
scala> List(1, 2.0, "abc")
val res1: scala.collection.immutable.List[Int | Double | String] = List(1, 2.0, abc)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
smartercommented, Apr 21, 2017

Re-opening since the issue is about the printing as @dwijnand said. I think we need some logic to elide prefixes when pretty-printing.

0reactions
dwijnandcommented, Jan 22, 2020

Btw, just tried master and this is fixed:

scala> List(1, 2.0, "abc")
val res0: List[Any] = List(1, 2.0, abc)

scala> List(1, 2.0)
val res1: List[Double] = List(1.0, 2.0)
Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Ways How to Fix Inconsistent Extrusion & Lines in 3D Prints
If your printer does not extrude the filament consistently it will affect your design and will ruin the resulting print. Inconsistent extrusion is...
Read more >
How to fix smudged, lined, or distorted printer printouts
Information on why your printer is printing smudged copies, lines, or distorted text or images.
Read more >
10 Most Common Printer Problems and How to Fix Them
10. Constant Paper Jams · 9. Print Quality Isn't What You Expected · 8. When You Print, Nothing Happens or a PDF Save...
Read more >
3D Printing Troubleshooting: All Problems & Solutions - All3DP
Complete 3D printing troubleshooting guide. All common 3D printing problems and their solutions. Includes both FDM and SLA 3D printing ...
Read more >
The paper source settings or tray settings change when you ...
When you select a different printer, the paper settings are reacquired from the new driver. This behavior is by design. Naming conventions are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found