Skip to content

Commit

Permalink
Merge pull request #3490 from barambani/style-fix
Browse files Browse the repository at this point in the history
Fixed formatting on master
  • Loading branch information
barambani authored Jun 19, 2020
2 parents 8d0578e + 6189797 commit d9b03e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/scala/cats/data/IndexedReaderWriterStateT.scala
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ final class IndexedReaderWriterStateT[F[_], E, L, SA, SB, A](val runF: F[(E, SA)
* res1: Option[(Log, Int, String)] = Some((List(xxx),5,xxx5))
* }}}
*/
def semiflatTransform[LL, SC, B](f: (L, SB, A) => F[(LL, SC, B)])(
implicit F: Monad[F]
): IndexedReaderWriterStateT[F, E, LL, SA, SC, B] =
def semiflatTransform[LL, SC, B](
f: (L, SB, A) => F[(LL, SC, B)]
)(implicit F: Monad[F]): IndexedReaderWriterStateT[F, E, LL, SA, SC, B] =
IndexedReaderWriterStateT.apply((e, s) => F.flatMap(run(e, s)) { case (l, sb, a) => f(l, sb, a) })

/**
Expand Down

0 comments on commit d9b03e0

Please sign in to comment.