arrow-generic / arrow.generic.coproduct6

Package arrow.generic.coproduct6

Types

Coproduct6 sealed class Coproduct6<A, B, C, D, E, F>
Represents a sealed hierarchy of 6 types where only one of the types is actually present.
Fifth data class Fifth<A, B, C, D, E, F> : Coproduct6<A, B, C, D, E, F>
Represents the fifth type of a Coproduct6
First data class First<A, B, C, D, E, F> : Coproduct6<A, B, C, D, E, F>
Represents the first type of a Coproduct6
Fourth data class Fourth<A, B, C, D, E, F> : Coproduct6<A, B, C, D, E, F>
Represents the fourth type of a Coproduct6
Second data class Second<A, B, C, D, E, F> : Coproduct6<A, B, C, D, E, F>
Represents the second type of a Coproduct6
Sixth data class Sixth<A, B, C, D, E, F> : Coproduct6<A, B, C, D, E, F>
Represents the sixth type of a Coproduct6
Third data class Third<A, B, C, D, E, F> : Coproduct6<A, B, C, D, E, F>
Represents the third type of a Coproduct6

Functions

cop fun <A, B, C, D, E, F> A.~~cop~~(): Coproduct6<A, B, C, D, E, F>
fun <A, B, C, D, E, F> B.~~cop~~(dummy0: Unit = Unit): Coproduct6<A, B, C, D, E, F>
fun <A, B, C, D, E, F> C.~~cop~~(dummy0: Unit = Unit, dummy1: Unit = Unit): Coproduct6<A, B, C, D, E, F>
fun <A, B, C, D, E, F> D.~~cop~~(dummy0: Unit = Unit, dummy1: Unit = Unit, dummy2: Unit = Unit): Coproduct6<A, B, C, D, E, F>
fun <A, B, C, D, E, F> E.~~cop~~(dummy0: Unit = Unit, dummy1: Unit = Unit, dummy2: Unit = Unit, dummy3: Unit = Unit): Coproduct6<A, B, C, D, E, F>
fun <A, B, C, D, E, F> F.~~cop~~(dummy0: Unit = Unit, dummy1: Unit = Unit, dummy2: Unit = Unit, dummy3: Unit = Unit, dummy4: Unit = Unit): Coproduct6<A, B, C, D, E, F>
coproductOf fun <A, B, C, D, E, F> ~~coproductOf~~(a: A): Coproduct6<A, B, C, D, E, F>
fun <A, B, C, D, E, F> ~~coproductOf~~(b: B, dummy0: Unit = Unit): Coproduct6<A, B, C, D, E, F>
fun <A, B, C, D, E, F> ~~coproductOf~~(c: C, dummy0: Unit = Unit, dummy1: Unit = Unit): Coproduct6<A, B, C, D, E, F>
fun <A, B, C, D, E, F> ~~coproductOf~~(d: D, dummy0: Unit = Unit, dummy1: Unit = Unit, dummy2: Unit = Unit): Coproduct6<A, B, C, D, E, F>
fun <A, B, C, D, E, F> ~~coproductOf~~(e: E, dummy0: Unit = Unit, dummy1: Unit = Unit, dummy2: Unit = Unit, dummy3: Unit = Unit): Coproduct6<A, B, C, D, E, F>
fun <A, B, C, D, E, F> ~~coproductOf~~(f: F, dummy0: Unit = Unit, dummy1: Unit = Unit, dummy2: Unit = Unit, dummy3: Unit = Unit, dummy4: Unit = Unit): Coproduct6<A, B, C, D, E, F>
fifth fun <A, B, C, D, E, F> E.fifth(): Coproduct6<A, B, C, D, E, F>
Creates a Coproduct from the E type
first fun <A, B, C, D, E, F> A.first(): Coproduct6<A, B, C, D, E, F>
Creates a Coproduct from the A type
fold fun <A, B, C, D, E, F, RESULT> Coproduct6<A, B, C, D, E, F>.fold(a: (A) -> RESULT, b: (B) -> RESULT, c: (C) -> RESULT, d: (D) -> RESULT, e: (E) -> RESULT, f: (F) -> RESULT): RESULT
Runs the function related to the actual value of the Coproduct and returns the result
fourth fun <A, B, C, D, E, F> D.fourth(): Coproduct6<A, B, C, D, E, F>
Creates a Coproduct from the D type
second fun <A, B, C, D, E, F> B.second(): Coproduct6<A, B, C, D, E, F>
Creates a Coproduct from the B type
select fun <A> Coproduct6<A, *, *, *, *, *>.select(): Option<A>
fun <B> Coproduct6<*, B, *, *, *, *>.select(dummy0: Unit = Unit): Option<B>
fun <C> Coproduct6<*, *, C, *, *, *>.select(dummy0: Unit = Unit, dummy1: Unit = Unit): Option<C>
fun <D> Coproduct6<*, *, *, D, *, *>.select(dummy0: Unit = Unit, dummy1: Unit = Unit, dummy2: Unit = Unit): Option<D>
fun <E> Coproduct6<*, *, *, *, E, *>.select(dummy0: Unit = Unit, dummy1: Unit = Unit, dummy2: Unit = Unit, dummy3: Unit = Unit): Option<E>
fun <F> Coproduct6<*, *, *, *, *, F>.select(dummy0: Unit = Unit, dummy1: Unit = Unit, dummy2: Unit = Unit, dummy3: Unit = Unit, dummy4: Unit = Unit): Option<F>
Transforms the Coproduct into an Option based on the actual value of the Coproduct
sixth fun <A, B, C, D, E, F> F.sixth(): Coproduct6<A, B, C, D, E, F>
Creates a Coproduct from the F type
third fun <A, B, C, D, E, F> C.third(): Coproduct6<A, B, C, D, E, F>
Creates a Coproduct from the C type