3 lines
68 B
Standard ML
3 lines
68 B
Standard ML
fun char_repeat (c, n) =
|
|
implode (List.tabulate (n, fn _ => c))
|
|
;
|