"use strict"
// tracing: off
Object.defineProperty(exports, "__esModule", { value: true })
exports.replicate_ = exports.replicate = void 0
const Array_1 = require("../Collections/Immutable/Array")
/**
 * Replicates the given effect `n` times.
 *
 * @dataFirst replicate_
 */
function replicate(n, __trace) {
  return (self) => replicate_(self, n)
}
exports.replicate = replicate
/**
 * Replicates the given effect `n` times.
 */
function replicate_(self, n) {
  return Array_1.range(0, n).map(() => self)
}
exports.replicate_ = replicate_
//# sourceMappingURL=replicate.js.map
