"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const curry_1 = require("@arrows/composition/curry");
const _remove_ = (index, arr) => arr.slice(0, index).concat(arr.slice(index + 1));
/**
 * Creates a new array without an item at the provided index.
 *
 * @param index Specific index
 * @param arr Initial array
 * @returns New array
 */
const remove_ = curry_1.default(_remove_);
exports.remove_ = remove_;
exports.default = remove_;
