salign
fun <A> Iterable<A>.salign(SG: Semigroup<A>, other: Iterable<A>): Iterable<A>
Content copied to clipboard
fun <A> Sequence<A>.salign(SG: Semigroup<A>, other: Sequence<A>): Sequence<A>
Content copied to clipboard
aligns two structures and combine them with the given Semigroup.combine
fun <K, A> Map<K, A>.salign(SG: Semigroup<A>, other: Map<K, A>): Map<K, A>
Content copied to clipboard
aligns two structures and combine them with the given Semigroups '+'