<@U0EC2UPDF> quick suggestion: <Case> and `CaseWhe...
# exposed
j
@tapac quick suggestion: Case and
CaseWhen
could have a common interface declaring
fun When(...)
which would make fold operations on arbitrary collections trivial ex.
listOf(1, 2, 3).fold(case()) { acc, num -> acc.When(FooTable.barColumn eq num, num * 2) }.Else(Int.MAX_VALUE)