4 lines
79 B
OCaml
4 lines
79 B
OCaml
|
|
let string_repeat s n =
|
||
|
|
String.concat "" (Array.to_list (Array.make n s))
|
||
|
|
;;
|