Race3

sealed class Race3<out A, out B, out C>

Types

Link copied to clipboard
data class First<A>(val winner: A) : Race3<A, Nothing, Nothing>
Link copied to clipboard
data class Second<B>(val winner: B) : Race3<Nothing, B, Nothing>
Link copied to clipboard
data class Third<C>(val winner: C) : Race3<Nothing, Nothing, C>

Functions

Link copied to clipboard
inline fun <D> fold(    ifA: (A) -> D,     ifB: (B) -> D,     ifC: (C) -> D): D

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard