what if the `< 1` syntax could be generalised t...
# announcements
o
what if the
< 1
syntax could be generalised to support all infix functions? Given
infix fun Int.foo(other: Int): Boolean { ... }
, the following could be achieved:
Copy code
when (value) {
    foo 42 -> ...
}
👍 3
🍻 2