diff options
Diffstat (limited to 'content/post/fairstream.md')
| -rw-r--r-- | content/post/fairstream.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/post/fairstream.md b/content/post/fairstream.md index d4bba6c..a85cbce 100644 --- a/content/post/fairstream.md +++ b/content/post/fairstream.md @@ -30,7 +30,7 @@ triples.take(7).compile.toList The `for` comprehension desugars into nested `flatMap` calls. Since `number` is infinite, the innermost generator tries $k = 1, 2, 3, \ldots$ forever for $i = 1, j = 1$ before it ever consider $j = 2$. No Pythagorean triple exists for $i = 1, j = 1$, so the stream never produces a result. -This is not a quirk of ofs2. Any depth-first `flatMap` over infinite collections has this problem, including Scala's standard library `LazyList`. +This is not a quirk of fs2. Any depth-first `flatMap` over infinite collections has this problem, including Scala's standard library `LazyList`. ## Fair interleaving with `fairstream` |
