when x is "blah" | "blop" -> 1 "foo" | "bar" -> 2