repeat
import { repeat } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/iterable.ts";Repeat an Iterable n times.
@example
import * as I from "./iterable.ts";
const numbers = I.wrap(1, 2, 3);
const repeated = I.repeat(3)(numbers);
const result = Array.from(repeated); // [1, 2, 3, 1, 2, 3, 1, 2, 3]
function repeat(n: number): <A>(ta: Iterable<A>) => Iterable<A>;