A
- the input/output type to the Fn1
public final class Endo<A> extends Object implements Monoid<Fn1<A,A>>
Modifier and Type | Method and Description |
---|---|
Fn2<Fn1<A,A>,A,A> |
apply(Fn1<A,A> f)
Partially apply this function by passing its first argument.
|
A |
apply(Fn1<A,A> f,
Fn1<A,A> g,
A a) |
Fn1<A,A> |
checkedApply(Fn1<A,A> f,
Fn1<A,A> g) |
static <A> Endo<A> |
endo() |
static <A> Fn2<Fn1<A,A>,A,A> |
endo(Fn1<A,A> f) |
static <A> Fn1<A,A> |
endo(Fn1<A,A> f,
Fn1<A,A> g) |
static <A> A |
endo(Fn1<A,A> f,
Fn1<A,A> g,
A a) |
Fn1<A,A> |
identity()
The identity element of this monoid.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flip, foldLeft, foldMap, foldRight, monoid, monoid, reduceLeft, reduceRight
apply, checkedApply, compose, contraMap, curried, curry, diMapL, discardR, fn2, fromBiFunction, toBiFunction, uncurry, widen
public Fn1<A,A> identity()
Monoid
public Fn2<Fn1<A,A>,A,A> apply(Fn1<A,A> f)
Fn2
public static <A> Endo<A> endo()