final
case class
Endo[A](run: (A) ⇒ A) extends Product with Serializable
Instance Constructors
-
new
Endo(run: (A) ⇒ A)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
andThen(other: Endo[A]): Endo[A]
-
final
def
apply(a: A): A
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
compose(other: Endo[A]): Endo[A]
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
run: (A) ⇒ A
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Endomorphisms. They have special properties among functions, so are captured in this newtype.
The captured function.