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
SeqView cannot map with breakOut #6709
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6709?orig=1 |
@Atry said: |
@Sciss said (edited on Jan 20, 2013 5:02:17 PM UTC): |
@adriaanm said: |
Gilles Scouvart (GillesScouvart) said: "a b c d".split(" ").view.grouped(2).map{_ mkString ","} foreach println |
@retronym said: "a b c d".split(" ").iterator.grouped(2).map{_ mkString ","} foreach println
a,b
c,d I fixed a number of view bugs in 2.11 but this one still persists. |
Jacek Królikowski (nietaki) said: {code}scala> Array(4,3,2,1).view(0,2).sorted |
@retronym said: scala> Array(4,3,2,1).toIndexedSeq.view(0,2).sorted
res2: scala.collection.SeqView[Int,scala.collection.immutable.IndexedSeq[Int]] = SeqViewSC(...)
scala> .force
res3: scala.collection.immutable.IndexedSeq[Int] = Vector(3, 4) |
Should be fixed in the 2.13 collections rework |
The text was updated successfully, but these errors were encountered: