Search code examples
scalascala-cats

Optimization cats library "<*>"


I am trying to optimize imports in my code and eliminate all "_" as import cats.implicits._

I have already optimized all my imports except the cats simbol "<*>". I tryed with:

import cats.Apply.Ops
import cats.Apply.{A,lot,of,options}
import cats.implicits.{A,lot,of,options}
import cats.syntax.ApplyOps
...

With import cats.implicits._ my code works perfectly.

Any suggestions?


Solution

  • Try import cats.syntax.apply._