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