Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/scala/stdlib/ForExpressions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ object ForExpressions extends FlatSpec with Matchers with org.scalaexercises.def
/** For expressions can nest, with later generators varying more rapidly than earlier ones:
*/
def canBeNestedForExpressions(res0: Int, res1: Int) {
val xValues = Range(1, 5)
val yValues = Range(1, 3)
val xValues = 1 to 4
val yValues = 1 to 2
val coordinates = for {
x ← xValues
y ← yValues
Expand Down