java.lang.Object
com.jnape.palatable.lambda.monoid.builtin.EndoK<M,A,MA>
- Type Parameters:
M- theMonadRecwitnessA- the carrier typeMA- the fully witnessedMonadRectype
- All Implemented Interfaces:
Fn1<Pure<M>, Fn1<Fn1<A,MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>>, Fn2<Pure<M>, Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn3<Pure<M>, Fn1<A, MA>, Fn1<A, MA>, Fn1<A, MA>>, MonoidFactory<Pure<M>, Fn1<A, MA>>, SemigroupFactory<Pure<M>, Fn1<A, MA>>, Applicative<Fn1<Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn1<Pure<M>, ?>>, Cartesian<Pure<M>, Fn1<Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn1<?, ?>>, Cocartesian<Pure<M>, Fn1<Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn1<?, ?>>, Contravariant<Pure<M>, Profunctor<?, Fn1<Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn1<?, ?>>>, Functor<Fn1<Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn1<Pure<M>, ?>>, Profunctor<Pure<M>, Fn1<Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn1<?, ?>>, Monad<Fn1<Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn1<Pure<M>, ?>>, MonadReader<Pure<M>, Fn1<Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn1<Pure<M>, ?>>, MonadRec<Fn1<Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn1<Pure<M>, ?>>, MonadWriter<Pure<M>, Fn1<Fn1<A, MA>, Fn1<Fn1<A, MA>, Fn1<A, MA>>>, Fn1<Pure<M>, ?>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckedApply(Pure<M> pureM) Invoke this function with the given argument, potentially throwing anyThrowable.endoK()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Fn1
andThen, carry, cartesian, censor, choose, cocartesian, diMap, diMapR, discardL, flatMap, fmap, lazyZip, listens, local, pure, self, thunk, toFunction, trampolineM, zip, zipMethods inherited from interface Fn2
toBiFunctionMethods inherited from interface Fn3
apply, checkedApply, compose, contraMap, diMapL, discardR, flip, uncurry, widenMethods inherited from interface MonoidFactory
apply, applyMethods inherited from interface SemigroupFactory
checkedApply
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
EndoK
public EndoK()
-
-
Method Details
-
checkedApply
Description copied from interface:Fn2Invoke this function with the given argument, potentially throwing anyThrowable.- Specified by:
checkedApplyin interfaceFn1<M extends MonadRec<?,M>, A> - Specified by:
checkedApplyin interfaceFn2<M extends MonadRec<?,M>, A, MA extends MonadRec<A, M>> - Specified by:
checkedApplyin interfaceMonoidFactory<M extends MonadRec<?,M>, A> - Specified by:
checkedApplyin interfaceSemigroupFactory<M extends MonadRec<?,M>, A> - Parameters:
pureM- the argument- Returns:
- the result of the function application
-
endoK
-
endoK
-