We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c38f89b + ca7ba02 commit 502c5faCopy full SHA for 502c5fa
1 file changed
core/src/main/scala/cats/data/WriterT.scala
@@ -37,7 +37,7 @@ final case class WriterT[F[_], L, V](run: F[(L, V)]) {
37
object WriterT extends WriterTInstances with WriterTFunctions
38
39
private[data] sealed abstract class WriterTInstances {
40
- implicit def writerTMonad[F[_], L](implicit monadF: Monad[F], monoidL: Monoid[L]) = {
+ implicit def writerTMonad[F[_], L](implicit monadF: Monad[F], monoidL: Monoid[L]): Monad[WriterT[F, L, ?]] = {
41
new Monad[WriterT[F, L, ?]] {
42
override def pure[A](a: A): WriterT[F, L, A] =
43
WriterT.value[F, L, A](a)
0 commit comments