From 1dab091ec2fa6029329312361f7c20ae24c3d4a2 Mon Sep 17 00:00:00 2001 From: Ben Plommer Date: Tue, 12 Oct 2021 10:52:44 +0100 Subject: [PATCH] Guide: remove references to pre-1.0 apis --- site/guide.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/site/guide.md b/site/guide.md index b4f99d83ba..e6c5a65a0a 100644 --- a/site/guide.md +++ b/site/guide.md @@ -38,7 +38,7 @@ We'll consider each of these in this guide. ### Building streams -A `Stream[F,O]` (formerly `Process`) represents a discrete stream of `O` values which may request evaluation of `F` effects. We'll call `F` the _effect type_ and `O` the _output type_. Let's look at some examples: +A `Stream[F,O]` represents a discrete stream of `O` values which may request evaluation of `F` effects. We'll call `F` the _effect type_ and `O` the _output type_. Let's look at some examples: ```scala mdoc import fs2.Stream @@ -133,9 +133,6 @@ import fs2.Chunk val s1c = Stream.chunk(Chunk.array(Array(1.0, 2.0, 3.0))) ``` -Note: FS2 used to provide an alternative to `Chunk` which was potentially infinite and supported fusion of arbitrary operations. This type was called `Segment`. -In FS2 0.10.x, `Segment` played a large role in the core design. In FS2 1.0, `Segment` was completely removed, as chunk based algorithms are often faster than their segment based equivalents and almost always significantly simpler. - ### Basic stream operations Streams have a small but powerful set of operations, some of which we've seen already. The key operations are `++`, `map`, `flatMap`, `handleErrorWith`, and `bracket`: