Skip to content

Commit

Permalink
Rename cats.std to cats.instances
Browse files Browse the repository at this point in the history
Following the changes in cats availabe in current stable 0.9.0 typelevel/cats#1140
  • Loading branch information
charandas authored Dec 7, 2017
1 parent d3de070 commit 30d7b46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ What's the name of that operator/symbol/syntax/thing, for Scala.
Using Cats:
```scala
import cats._
import cats.std.option._
import cats.instances.option._
import cats.syntax.cartesian._

(Option(1) |@| Option(2)) map (_ + _)
Expand All @@ -70,7 +70,7 @@ val list2 = 1 :: 2 :: 3 :: Nil

Using Cats:
```scala
import cats.std.all._
import cats.instances.all._
import cats.syntax.flatMap._

List(1, 2, 3) >>= { (x: Int) => List(x, x + 1) }
Expand All @@ -84,7 +84,7 @@ first action is discarded.

Using Cats:
```scala
import cats.std.all._
import cats.instances.all._
import cats.syntax.flatMap._

List(1, 2, 3) >> { List(2, 2) }
Expand Down

0 comments on commit 30d7b46

Please sign in to comment.