// tracing: off
import { range } from "../Collections/Immutable/Array"
/**
 * Replicates the given effect `n` times.
 *
 * @dataFirst replicate_
 */

export function replicate(n, __trace) {
  return (self) => replicate_(self, n)
}
/**
 * Replicates the given effect `n` times.
 */

export function replicate_(self, n) {
  return range(0, n).map(() => self)
}
//# sourceMappingURL=replicate.js.map
