Implement matching with quasiquote