https://kotlinlang.org logo
#dsl
Title
# dsl
t

tjb

11/26/2018, 3:10 AM
Copy code
match {
            optional = false
        }

        with {
            "hello, world"
        }
d

dave08

11/26/2018, 3:15 AM
No gain from this one... the match can have multiple statements using its receiver, but with only has one.
t

tjb

11/26/2018, 4:59 AM
hmmm you're right. im not sure the best way to implement something like this...if i only want 1 argument would would be the "proper" way to do something like this?
d

dave08

11/26/2018, 7:34 AM
See my previous comments