Class PrependAll<A>
java.lang.Object
com.jnape.palatable.lambda.functions.builtin.fn2.PrependAll<A>
- Type Parameters:
A- the Iterable parameter type
- All Implemented Interfaces:
Fn1<A,,Fn1<Iterable<A>, Iterable<A>>> Fn2<A,,Iterable<A>, Iterable<A>> Applicative<Fn1<Iterable<A>,,Iterable<A>>, Fn1<A, ?>> Cartesian<A,,Fn1<Iterable<A>, Iterable<A>>, Fn1<?, ?>> Cocartesian<A,,Fn1<Iterable<A>, Iterable<A>>, Fn1<?, ?>> Contravariant<A,,Profunctor<?, Fn1<Iterable<A>, Iterable<A>>, Fn1<?, ?>>> Functor<Fn1<Iterable<A>,,Iterable<A>>, Fn1<A, ?>> Profunctor<A,,Fn1<Iterable<A>, Iterable<A>>, Fn1<?, ?>> Monad<Fn1<Iterable<A>,,Iterable<A>>, Fn1<A, ?>> MonadReader<A,,Fn1<Iterable<A>, Iterable<A>>, Fn1<A, ?>> MonadRec<Fn1<Iterable<A>,,Iterable<A>>, Fn1<A, ?>> MonadWriter<A,Fn1<Iterable<A>, Iterable<A>>, Fn1<A, ?>>
Lazily prepend each value with of the
Iterable with the supplied separator value. An empty
Iterable is left untouched.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncheckedApply(A a, Iterable<A> as) static <A> PrependAll<A> prependAll(A a) static <A> Iterable<A> prependAll(A a, Iterable<A> as) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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