Endo

data class Endo<A>(val f: (A) -> A)(source)

The monoid of endomorphisms under composition.

Constructors

Link copied to clipboard
fun <A> Endo(f: (A) -> A)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun combine(g: Endo<A>): Endo<A>

Properties

Link copied to clipboard
val f: (A) -> A