From 6246638f5f3afb33e30c5e9210499a65d395037c Mon Sep 17 00:00:00 2001 From: Amir Saeid Date: Wed, 18 Feb 2026 21:29:55 +0000 Subject: Fix ofs2 typo --- content/post/fairstream.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` -- cgit v1.2.3