def aInt = array.[] [("key1", 1), ("key2", 33), ("key3", 55)]; def key = "key2"; match( aInt ) { | (x, y) when x == key => WriteLine(y) }