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