MonadZero

trait MonadZero[m: Type -> Type] with Monad[m]Source

A trait for Monads that have a zero element.

Signatures

def empty(_unit: Unit): m[t] with MonadZero[m] Source

Returns the zero element of the monad.