MonoidOps

final
class MonoidOps[F] extends Ops[F]

Wraps a value self and provides methods related to Monoid

trait Ops[F]
class Object
trait Matchable
class Any

Value members

Concrete methods

final
def ifEmpty[A](tv: => A)(fv: => A)(implicit e: Equal[F]): A
final
def isMZero(implicit e: Equal[F]): Boolean
final
def multiply(n: Int): F
final
def onEmpty[A](v: => A)(implicit ma: Monoid[A], e: Equal[F]): A
final
def onNotEmpty[A](v: => A)(implicit ma: Monoid[A], e: Equal[F]): A

Concrete fields

val self: F

Implicits

Implicits

implicit
val F: Monoid[F]