Skip to content
Permalink
Browse files

Removed another ZIO dead link

  • Loading branch information...
mpilquist committed Jul 29, 2019
1 parent 3043506 commit 1b6681df59932f5d181d11fdea2fc5249f6fa137
Showing with 4 additions and 4 deletions.
  1. +1 −1 README.md
  2. +3 −3 core/shared/src/main/scala/fs2/Stream.scala
@@ -9,7 +9,7 @@ FS2: Functional Streams for Scala

FS2 is a library for purely functional, effectful, and polymorphic stream processing library in the [Scala programming language](https://scala-lang.org). Its design goals are compositionality, expressiveness, resource safety, and speed. The name is a modified acronym for **F**unctional **S**treams for **Scala** (FSS, or FS2).

FS2 is available for Scala 2.11, Scala 2.12, and [Scala.js](http://www.scala-js.org/). FS2 is built upon two major functional libraries for Scala, [Cats](https://typelevel.org/cats/), and [Cats-Effect](https://typelevel.org/cats-effect/). Regardless of those dependencies, FS2 core types (streams and pulls) are polymorphic in the effect type (as long as it is compatible with `cats-effect` typeclasses), and thus FS2 can be used with other IO libraries, such as [Monix](https://monix.io/), or [ZIO](https://scalaz.github.io/scalaz-zio/).
FS2 is available for Scala 2.11, Scala 2.12, and [Scala.js](http://www.scala-js.org/). FS2 is built upon two major functional libraries for Scala, [Cats](https://typelevel.org/cats/), and [Cats-Effect](https://typelevel.org/cats-effect/). Regardless of those dependencies, FS2 core types (streams and pulls) are polymorphic in the effect type (as long as it is compatible with `cats-effect` typeclasses), and thus FS2 can be used with other effect libraries, such as [Monix](https://monix.io/).

Prior to the 0.9 release in 2016, FS2 was known as `scalaz-stream`, which was based on the [`scalaz`](https://github.com/scalaz/scalaz) library.

@@ -16,13 +16,13 @@ import scala.annotation.tailrec
import scala.concurrent.duration._

/**
* A stream producing output of type `O` and which may evaluate `F`
* effects.
* A stream producing output of type `O` and which may evaluate `F` effects.
*
* - '''Purely functional''' a value of type `Stream[F, O]` _describes_ an effectful computation.
* A function that returns a `Stream[F, O]` builds a _description_ of an effectful computation,
* but does not perform them. The methods of the `Stream` class derive new descriptions from others.
* This is similar to `cats.effect.IO`, `monix.Task`, or `scalaz.zio.IO`.
* This is similar to how effect types like `cats.effect.IO` and `monix.Task` build descriptions of
* computations.
*
* - '''Pull''': to evaluate a stream, a consumer pulls its values from it, by repeatedly performing one pull step at a time.
* Each step is a `F`-effectful computation that may yield some `O` values (or none), and a stream from which to continue pulling.

0 comments on commit 1b6681d

Please sign in to comment.
You can’t perform that action at this time.