I would prefer it to work like this: repeat("abc", 3) -> "abcabcabc" repeat(["abc"], 3) -> ["abc","abc","abc"] repeat([1,2,3], 3) -> [1,2,3,1,2,3,1,2,3]
-- Dil D compiler: http://code.google.com/p/dil/
I would prefer it to work like this: repeat("abc", 3) -> "abcabcabc" repeat(["abc"], 3) -> ["abc","abc","abc"] repeat([1,2,3], 3) -> [1,2,3,1,2,3,1,2,3]
-- Dil D compiler: http://code.google.com/p/dil/