File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,12 @@ is translated into
6565
6666#### Example 5
6767
68- When pattern matching is used in for comprehensions on objects which do not
68+ When pattern matching is used in for- comprehensions on objects which do not
6969implement ` filter ` or ` withFilter ` compilation fails with the following error
7070
7171 value withFilter is not a member of ...
7272
73- That it because, for example, the following statement
73+ That is because, for example, the following statement
7474
7575 for((a, b) <- c) yield {...}
7676
@@ -79,10 +79,10 @@ is translated into
7979 c.withFilter{
8080 case (a, b) => true
8181 case _ => false
82- }.map{case (a, b) => {...}
82+ }.map{case (a, b) => {...}}
8383
8484where the ` withFilter ` ensures that the pattern in the subsequent function is
85- always satisfied
85+ always satisfied.
8686
8787Clarity
8888----------------------------------
You can’t perform that action at this time.
0 commit comments