oday
08/06/2017, 11:18 AMvoddan
08/06/2017, 12:30 PModay
08/06/2017, 1:01 PMadd x y
where X and Y are Ints, and have it return somethingoday
08/06/2017, 1:01 PMval value = x + y
I want to be able to say val value = add x y
voddan
08/06/2017, 2:29 PMvoddan
08/06/2017, 2:29 PMadd(x y)
is the closes thingvoddan
08/06/2017, 2:30 PModay
08/06/2017, 2:53 PMbenleggiero
08/06/2017, 10:47 PMprefix fun
was a thing in Kotlin, it could be done like this: https://try.kotlinlang.org/#/UserProjects/9qjpi8grs7ciip44h2lovsjva5/8hs12fa3iv6f4hh826rooee5eboday
08/07/2017, 7:14 AModay
08/07/2017, 7:14 AModay
08/07/2017, 7:14 AM