我尝试使用:(^10).map({0})生成一个10'0'的列表.还有另一种方法吗?
(^10).map({0})
list timtowtdi repeat perl6
list ×1
perl6 ×1
repeat ×1
timtowtdi ×1