Skip to content

Commit

Permalink
Updated site for 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
djspiewak committed Nov 28, 2021
1 parent bd83733 commit 74a8f75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Getting Started
Add the following to your **build.sbt**:

```scala
libraryDependencies += "org.typelevel" %% "cats-effect" % "3.2.9"
libraryDependencies += "org.typelevel" %% "cats-effect" % "3.3.0"
```

Naturally, if you're using ScalaJS, you should replace the double `%%` with a triple `%%%`. If you're on Scala 2, it is *highly* recommended that you enable the [better-monadic-for](https://github.com/oleg-py/better-monadic-for) plugin, which fixes a number of surprising elements of the `for`-comprehension syntax in the Scala language:
Expand Down Expand Up @@ -62,7 +62,7 @@ We will learn more about constructs like `start` and `*>` in later pages, but fo
Of course, the easiest way to play with Cats Effect is to try it out in a Scala REPL. We recommend using [Ammonite](https://ammonite.io/#Ammonite-REPL) for this kind of thing. To get started, run the following lines (if not using Ammonite, skip the first line and make sure that Cats Effect and its dependencies are correctly configured on the classpath):

```scala
import $ivy.`org.typelevel::cats-effect:3.2.9`
import $ivy.`org.typelevel::cats-effect:3.3.0`

import cats.effect.unsafe.implicits._
import cats.effect.IO
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ running the code snippets in this tutorial, it is recommended to use the same
```scala
name := "cats-effect-tutorial"

version := "3.2.9"
version := "3.3.0"

scalaVersion := "2.13.6"

libraryDependencies += "org.typelevel" %% "cats-effect" % "3.2.9" withSources() withJavadoc()
libraryDependencies += "org.typelevel" %% "cats-effect" % "3.3.0" withSources() withJavadoc()

scalacOptions ++= Seq(
"-feature",
Expand Down Expand Up @@ -256,7 +256,7 @@ But, in a way, that's precisely what we do when we `flatMap` instances of
has its place, `Resource` is likely to be a better choice when dealing with
multiple resources at once.

### Copying data
### Copying data
Finally we have our streams ready to go! We have to focus now on coding
`transfer`. That function will have to define a loop that at each iteration
reads data from the input stream into a buffer, and then writes the buffer
Expand Down

0 comments on commit 74a8f75

Please sign in to comment.