diff --git a/core/src/main/scala-3.x/src/main/scala/cats/syntax/MonadOps.scala b/core/src/main/scala-3.x/src/main/scala/cats/syntax/MonadOps.scala index ba4f2a4313..8f445403ea 100644 --- a/core/src/main/scala-3.x/src/main/scala/cats/syntax/MonadOps.scala +++ b/core/src/main/scala-3.x/src/main/scala/cats/syntax/MonadOps.scala @@ -1,6 +1,6 @@ package cats.syntax -import cats.{Monad, Alternative} +import cats.{Alternative, Monad} final class MonadOps[F[_], A](private val fa: F[A]) extends AnyVal { def whileM[G[_]](using M: Monad[F], G: Alternative[G])(p: F[Boolean]): F[G[A]] = M.whileM(p)(fa) diff --git a/free/src/main/scala-3.x/cats/free/FreeFoldStep.scala b/free/src/main/scala-3.x/cats/free/FreeFoldStep.scala index f6fa75e7ab..a5211f58c3 100644 --- a/free/src/main/scala-3.x/cats/free/FreeFoldStep.scala +++ b/free/src/main/scala-3.x/cats/free/FreeFoldStep.scala @@ -1,7 +1,7 @@ package cats.free import Free.{FlatMapped, Pure, Suspend} -import cats.{Foldable, Eval} +import cats.{Eval, Foldable} private[free] trait FreeFoldStep[S[_], A] { @@ -38,4 +38,4 @@ private[free] trait FreeFoldStep[S[_], A] { fa => F.foldRight(fa, lb)(f), [X] => (sx: S[X], g: X => Free[S, A]) => F.foldRight(sx, lb)((a, lbb) => foldRight(g(a), lbb)(f)) ) -} \ No newline at end of file +}