Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cats.syntax.all._ instead of cats.implicits #592

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/mtl-classes/chronicle.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ We can prohibit bad user data by using a computation halting `confess` and nudge
```scala mdoc
import cats.Monad
import cats.data._
import cats.implicits._
import cats.syntax.all._
import cats.mtl.Chronicle

type Failures = NonEmptyChain[String]
Expand Down
2 changes: 1 addition & 1 deletion docs/mtl-classes/handle.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Let's look at an example of how to use this function:

```scala mdoc
import cats._
import cats.implicits._
import cats.syntax.all._
import cats.mtl._
import cats.mtl.implicits._

Expand Down
2 changes: 1 addition & 1 deletion docs/mtl-classes/listen.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Let's have a look at an example of how one could do this:
```scala mdoc
import cats._
import cats.data._
import cats.implicits._
import cats.syntax.all._
import cats.mtl._
import cats.mtl.implicits._

Expand Down
2 changes: 1 addition & 1 deletion docs/mtl-classes/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Here's a quick example of how it works:
```scala mdoc
import cats._
import cats.data._
import cats.implicits._
import cats.syntax.all._
import cats.mtl._

def calculateContentLength[F[_]: Applicative](implicit F: Ask[F, String]): F[Int] =
Expand Down
2 changes: 1 addition & 1 deletion docs/mtl-classes/raise.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Here's a quick example of how you might use it:

```scala mdoc
import cats._
import cats.implicits._
import cats.syntax.all._
import cats.mtl._

def parseNumber[F[_]: Applicative](in: String)(implicit F: Raise[F, String]): F[Int] = {
Expand Down
2 changes: 1 addition & 1 deletion docs/mtl-classes/stateful.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Let's say we have the following function to access a service:
```scala mdoc
import cats._
import cats.data._
import cats.implicits._
import cats.syntax.all._
import cats.mtl.Stateful

case class ServiceResult(id: Int, companies: List[String])
Expand Down
2 changes: 1 addition & 1 deletion docs/mtl-classes/tell.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ First we'll add the actual service call with its parameters and result types:
```scala mdoc
import cats._
import cats.data._
import cats.implicits._
import cats.syntax.all._
import cats.mtl.Tell

case class ServiceParams(option1: String, option2: Int)
Expand Down