Skip to content

Commit 2c6f8fa

Browse files
committed
Ichoran's suggestions
1 parent bac6beb commit 2c6f8fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/tour/_posts/2017-02-13-sequence-comprehensions.md renamed to tutorials/tour/_posts/2017-02-13-for-comprehensions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: tutorial
3-
title: Sequence Comprehensions
3+
title: For Comprehensions
44

55
disqus: true
66

@@ -36,7 +36,7 @@ Here is a more complicated example using two generators. It computes all pairs o
3636
def foo(n: Int, v: Int) =
3737
for (i <- 0 until n;
3838
j <- i until n if i + j == v)
39-
yield (i, j)
39+
yield (i, j)
4040
4141
foo(10, 10) foreach {
4242
case (i, j) =>

0 commit comments

Comments
 (0)