I see, I'd model it without either then as a simpl...
# arrow
r
I see, I'd model it without either then as a simple ADT:
Copy code
sealed class DisplayStrategy
data class DefaultLabel(value: String): DisplayStrategy()
data class LocalizedLabel(int: ResourceId): DisplayStrategy()

fun bizLogic(): DisplayStrategy