assign MATCH_P as a lambda