diff --git a/src/main/scala/fp/typeclasses/Monad.scala b/src/main/scala/fp/typeclasses/Monad.scala index e9cf8b0..d0228f3 100644 --- a/src/main/scala/fp/typeclasses/Monad.scala +++ b/src/main/scala/fp/typeclasses/Monad.scala @@ -3,7 +3,9 @@ import simulacrum.{op, typeclass} @typeclass trait Monad[F[_]] extends Applicative[F] { - @op(">>=") def flatMap[A, B](fa: F[A])(f: A => F[B]): F[B] + + @op(">>=", alias = true) + def flatMap[A, B](fa: F[A])(f: A => F[B]): F[B] } object Monad {