import * as tsplus_module_1 from "@tsplus/stdlib/collections/Chunk/map";
import * as tsplus_module_2 from "@effect/core/io/Exit/operations/map";
import { concreteTake, TakeInternal } from "@effect/core/stream/Take/operations/_internal/TakeInternal";
/**
 * Transforms `Take<E, A>` to `Take<E, B>` by applying function `f`.
 *
 * @tsplus fluent ets/Take map
 */

export function map_(self, f) {
  void 0;
  return new TakeInternal(tsplus_module_2.map_(self._exit, chunk => tsplus_module_1.map_(chunk, f)));
}
/**
 * Transforms `Take<E, A>` to `Take<E, B>` by applying function `f`.
 *
 * @tsplus static ets/Take/Aspects map
 */

export const map = f => self => map_(self, f);
//# sourceMappingURL=map.mjs.map