arrow-core / arrow.core.extensions.list.functor / kotlin.collections.List

Extensions for kotlin.collections.List

fproduct fun <A, B> List<A>.~~fproduct~~(arg1: (A) -> B): List<Tuple2<A, B>>
imap fun <A, B> List<A>.~~imap~~(arg1: (A) -> B, arg2: (B) -> A): List<B>
map Transform the F wrapped value A into B preserving the F structure Kind<F, A> -> Kind<F, B>fun <A, B> List<A>.~~map~~(arg1: (A) -> B): List<B>
mapConst fun <A, B> List<A>.~~mapConst~~(arg1: B): List<B>
tupleLeft fun <A, B> List<A>.~~tupleLeft~~(arg1: B): List<Tuple2<B, A>>
tupleRight fun <A, B> List<A>.~~tupleRight~~(arg1: B): List<Tuple2<A, B>>
void fun <A> List<A>.~~void~~(): List<Unit>
widen fun <B, A : B> List<A>.~~widen~~(): List<B>

Do you like Arrow?

Arrow Org
<