fn when_tuple(a: (Int, Int)) -> Int {
when a is {
(a, b) ->
a
}
validator {
fn spend(a: Data, b: Data, c) -> Bool {
when_tuple((4, 1)) == 4