case :a in b: c, **rest then :d end