Catenable

trait Catenable[F[_]] extends PlusEmpty[F]
trait PlusEmpty[F]
trait Plus[F]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

trait EmptyLaw extends PlusLaw
Inherited from:
PlusEmpty
trait PlusLaw
Inherited from:
Plus

Value members

Abstract methods

def cons[A](a: A, fa: F[A]): F[A]
def singleton[A](a: A): F[A]
def uncons[A](fa: F[A]): Option[(A, F[A])]

Inherited methods

override def compose[G[_]]: PlusEmpty[[α] =>> F[G[α]]]

The composition of PlusEmpty F and G, [x]F[G[x]], is a PlusEmpty

The composition of PlusEmpty F and G, [x]F[G[x]], is a PlusEmpty

Definition Classes
PlusEmpty -> Plus
Inherited from:
PlusEmpty
def empty[A]: F[A]
Inherited from:
PlusEmpty
def monoid[A]: Monoid[F[A]]
Inherited from:
PlusEmpty
def plus[A](a: F[A], b: => F[A]): F[A]
Inherited from:
Plus
Inherited from:
PlusEmpty
Inherited from:
Plus
def product[G[_]](implicit G0: PlusEmpty[G]): PlusEmpty[[α] =>> (F[α], G[α])]

The product of PlusEmpty F and G, [x](F[x], G[x]]), is a PlusEmpty

The product of PlusEmpty F and G, [x](F[x], G[x]]), is a PlusEmpty

Inherited from:
PlusEmpty
def product[G[_]](implicit G0: Plus[G]): Plus[[α] =>> (F[α], G[α])]

The product of Plus F and G, [x](F[x], G[x]]), is a Plus

The product of Plus F and G, [x](F[x], G[x]]), is a Plus

Inherited from:
Plus
def semigroup[A]: Semigroup[F[A]]
Inherited from:
Plus
def unfoldlPsum[S, A](seed: S)(f: S => Maybe[(S, F[A])]): F[A]
Inherited from:
PlusEmpty
def unfoldlPsumOpt[S, A](seed: S)(f: S => Maybe[(S, F[A])]): Maybe[F[A]]

Unfold seed to the left and sum using plus. Plus instances with right absorbing elements may override this method to not unfold more than is necessary to determine the result.

Unfold seed to the left and sum using plus. Plus instances with right absorbing elements may override this method to not unfold more than is necessary to determine the result.

Inherited from:
Plus
def unfoldrPsum[S, A](seed: S)(f: S => Maybe[(F[A], S)]): F[A]
Inherited from:
PlusEmpty
def unfoldrPsumOpt[S, A](seed: S)(f: S => Maybe[(F[A], S)]): Maybe[F[A]]

Unfold seed to the right and sum using plus. Plus instances with left absorbing elements may override this method to not unfold more than is necessary to determine the result.

Unfold seed to the right and sum using plus. Plus instances with left absorbing elements may override this method to not unfold more than is necessary to determine the result.

Inherited from:
Plus

Inherited fields

val plusEmptySyntax: PlusEmptySyntax[F]
Inherited from:
PlusEmpty
val plusSyntax: PlusSyntax[F]
Inherited from:
Plus