// ets_tracing: off
import * as Tp from "../Collections/Immutable/Tuple";
import { pipe } from "../Function";
import { modify } from "./modify";
/**
 * Sets the value associated with the current fiber.
 *
 * @ets_data_first set_
 */

export function set(a) {
  return fiberRef => set_(fiberRef, a);
}
/**
 * Sets the value associated with the current fiber.
 */

export function set_(fiberRef, a) {
  return modify(_ => Tp.tuple(undefined, a))(fiberRef);
}
//# sourceMappingURL=set.js.map