[ [ $first, $second ], $rest ? @$rest : () ]