Class Concat<A>
java.lang.Object
com.jnape.palatable.lambda.monoid.builtin.Concat<A>
- All Implemented Interfaces:
Fn1<Iterable<A>,
,Fn1<Iterable<A>, Iterable<A>>> Fn2<Iterable<A>,
,Iterable<A>, Iterable<A>> Applicative<Fn1<Iterable<A>,
,Iterable<A>>, Fn1<Iterable<A>, ?>> Cartesian<Iterable<A>,
,Fn1<Iterable<A>, Iterable<A>>, Fn1<?, ?>> Cocartesian<Iterable<A>,
,Fn1<Iterable<A>, Iterable<A>>, Fn1<?, ?>> Contravariant<Iterable<A>,
,Profunctor<?, Fn1<Iterable<A>, Iterable<A>>, Fn1<?, ?>>> Functor<Fn1<Iterable<A>,
,Iterable<A>>, Fn1<Iterable<A>, ?>> Profunctor<Iterable<A>,
,Fn1<Iterable<A>, Iterable<A>>, Fn1<?, ?>> Monad<Fn1<Iterable<A>,
,Iterable<A>>, Fn1<Iterable<A>, ?>> MonadReader<Iterable<A>,
,Fn1<Iterable<A>, Iterable<A>>, Fn1<Iterable<A>, ?>> MonadRec<Fn1<Iterable<A>,
,Iterable<A>>, Fn1<Iterable<A>, ?>> MonadWriter<Iterable<A>,
,Fn1<Iterable<A>, Iterable<A>>, Fn1<Iterable<A>, ?>> Monoid<Iterable<A>>
,Semigroup<Iterable<A>>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.jnape.palatable.lambda.functions.Fn1
andThen, carry, cartesian, censor, choose, cocartesian, diMap, diMapR, discardL, flatMap, fmap, lazyZip, listens, local, pure, self, thunk, toFunction, trampolineM, zip, zip
Methods inherited from interface com.jnape.palatable.lambda.functions.Fn2
apply, apply, checkedApply, compose, contraMap, diMapL, discardR, toBiFunction, uncurry, widen
Methods inherited from interface com.jnape.palatable.lambda.monoid.Monoid
flip, foldLeft, foldRight, reduceLeft, reduceRight
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Concat
private Concat()
-
-
Method Details
-
identity
Description copied from interface:Monoid
The identity element of this monoid. -
checkedApply
-
foldMap
Description copied from interface:Monoid
Homomorphism combined with catamorphism. Convert anIterable<B>
to anIterable<A>
(that is, anIterable
of elements this monoid is formed over), then reduce the result from left to right. Under algebraic data types, this is isomorphic to a flatMap. -
concat
-
concat
-
concat
-