Endo

object Endo extends EndoInstances
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def IsoEndo[A]: IsoSet[Endo[A], A => A]
final
def constantEndo[A](a: => A): Endo[A]

Always yield a.

Always yield a.

final
def constantEndoByName[A](a: => A): EndoByName[A]

Always yield a.

Always yield a.

final
def endo[A](f: A => A): Endo[A]

Alias for Endo.apply.

Alias for Endo.apply.

final
def endoByName[A](f: (=> A) => A): EndoByName[A]

Alias for EndoByName.apply.

Alias for EndoByName.apply.

final
def idEndo[A]: Endo[A]

Alias for Monoid[Endo[A]].zero.

Alias for Monoid[Endo[A]].zero.

final

Alias for Monoid[EndoByName[A]].zero.

Alias for Monoid[EndoByName[A]].zero.

Concrete fields

Implicits

Inherited implicits

implicit

Endo forms a monoid where zero is the identity endomorphism and append composes the underlying functions.

Endo forms a monoid where zero is the identity endomorphism and append composes the underlying functions.

Inherited from
EndoInstances