You can do pretty funky things with Unicode charac...
# announcements
d
You can do pretty funky things with Unicode characters and infix functions in Kotlin:
Copy code
data class Complex(val re: Int, val im: Int) {
    operator fun plus(other: Complex) = Complex(re + <http://other.re|other.re>, im + <http://other.im|other.im>)
    operator fun minus(other: Complex) = Complex(re - <http://other.re|other.re>, im - <http://other.im|other.im>)
    infix fun ᐳ(other: Complex): Complex = if (re > <http://other.re|other.re> && im > <http://other.im|other.im>) this else other
}
There's plenty more to be found in Unicode (http://unicode-table.com/de/blocks/unified-canadian-aboriginal-syllabics/)