3 lines
69 B
Standard ML
3 lines
69 B
Standard ML
fun string_repeat (s, n) =
|
|
concat (List.tabulate (n, fn _ => s))
|
|
;
|