Skip to content

Commit 7d71cb3

Browse files
authored
Update yield.md
fix typos
1 parent e95a91b commit 7d71cb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_overviews/FAQ/yield.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ That it because, for example, the following statement
7676

7777
is translated into
7878

79-
c.withFiler{
79+
c.withFilter{
8080
case (a, b) => true
8181
case _ => false
8282
}.map{case (a, b) => {...}
8383

84-
where the `withFiler` ensures that the pattern in the subsequent function is
84+
where the `withFilter` ensures that the pattern in the subsequent function is
8585
always satisfied
8686

8787
Clarity

0 commit comments

Comments
 (0)