<@U5QGY080J> You should do `when(myPair) { is Pair...
# announcements
e
@iex You should do
when(myPair) { is Pair -> ... }
and refer to
myPair
contents as
myPair.first
and
myPair.second
. You can destructure pair first as @gildor shows, but you don’t have to.