commonMain.Abcdk.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of abcdk-jvm Show documentation
Show all versions of abcdk-jvm Show documentation
Tiny unions lib for Kotlin.
The newest version!
@file:Suppress("unused", "SpellCheckingInspection")
package pl.mareklangiewicz.abcdk
data class A(val value: TA)
sealed class AB {
data class A(val value: TA): AB()
data class B(val value: TB): AB()
}
sealed class ABC {
data class A(val value: TA): ABC()
data class B(val value: TB): ABC()
data class C(val value: TC): ABC()
}
sealed class ABCD {
data class A(val value: TA): ABCD()
data class B(val value: TB): ABCD()
data class C(val value: TC): ABCD()
data class D(val value: TD): ABCD()
}
sealed class ABCDE {
data class A(val value: TA): ABCDE()
data class B(val value: TB): ABCDE()
data class C(val value: TC): ABCDE()
data class D(val value: TD): ABCDE()
data class E(val value: TE): ABCDE()
}
sealed class ABCDEF {
data class A(val value: TA): ABCDEF()
data class B(val value: TB): ABCDEF()
data class C(val value: TC): ABCDEF()
data class D(val value: TD): ABCDEF()
data class E(val value: TE): ABCDEF()
data class F(val value: TF): ABCDEF()
}
sealed class ABCDEFG {
data class A(val value: TA): ABCDEFG()
data class B(val value: TB): ABCDEFG()
data class C(val value: TC): ABCDEFG()
data class D(val value: TD): ABCDEFG()
data class E(val value: TE): ABCDEFG()
data class F(val value: TF): ABCDEFG()
data class G(val value: TG): ABCDEFG()
}
@Deprecated("Really?")
fun ABCDEFGH(): Nothing = error("Really?")
@Deprecated("Really?")
fun ABCDEFGHI(): Nothing = error("Really?")
@Deprecated("Really?")
fun ABCDEFGHIJ(): Nothing = error("Really?")
@Deprecated("Really?")
fun ABCDEFGHIJK(): Nothing = error("Really?")