[first, second | rest] better pattern matching FTW