m

    molikto

    2 years ago
    One thing really nice with Scala 3 is union types. It will be wonderful if Kotlin support it, then we can have a API
    fun Button(text: String | AnnotatedString | @Composable () -> Unit)
    . or implicit conversions (which is more powerful for better or worse
    l

    Leland Richardson [G]

    2 years ago
    yes, definitely. union types is my number one ask for kotlin as a language.
    when we made the decision to target functions as the “component” of compose this was what i considered as the biggest risk/downside
    Klaas Kabini

    Klaas Kabini

    2 years ago
    I would also love to see unions in Kotlin.
    s

    streetsofboston

    2 years ago
    c

    codeslubber

    2 years ago
    Kind of funny that Kotlin took all Scala’s ideas, now it’s taking them before they even make it out of the incubator!