M
- the MonadRec
witnessA
- the carrier typeMA
- the fully witnessed MonadRec
typepublic final class EndoK<M extends MonadRec<?,M>,A,MA extends MonadRec<A,M>> extends Object implements MonoidFactory<Pure<M>,Fn1<A,MA>>
Constructor and Description |
---|
EndoK() |
Modifier and Type | Method and Description |
---|---|
Monoid<Fn1<A,MA>> |
checkedApply(Pure<M> pureM)
Invoke this function with the given argument, potentially throwing any
Throwable . |
static <M extends MonadRec<?,M>,A,MA extends MonadRec<A,M>> |
endoK() |
static <M extends MonadRec<?,M>,A,MA extends MonadRec<A,M>> |
endoK(Pure<M> pureM) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, apply
checkedApply
apply, checkedApply, compose, contraMap, diMapL, discardR, flip, fn3, fn3, fn3, uncurry, widen
curried, curry, fn2, fromBiFunction, toBiFunction
public Monoid<Fn1<A,MA>> checkedApply(Pure<M> pureM)
Fn2
Throwable
.checkedApply
in interface Fn1<Pure<M extends MonadRec<?,M>>,Fn1<Fn1<A,MA extends MonadRec<A,M>>,Fn1<Fn1<A,MA extends MonadRec<A,M>>,Fn1<A,MA extends MonadRec<A,M>>>>>
checkedApply
in interface Fn2<Pure<M extends MonadRec<?,M>>,Fn1<A,MA extends MonadRec<A,M>>,Fn1<Fn1<A,MA extends MonadRec<A,M>>,Fn1<A,MA extends MonadRec<A,M>>>>
checkedApply
in interface MonoidFactory<Pure<M extends MonadRec<?,M>>,Fn1<A,MA extends MonadRec<A,M>>>
checkedApply
in interface SemigroupFactory<Pure<M extends MonadRec<?,M>>,Fn1<A,MA extends MonadRec<A,M>>>
pureM
- the argument