import * as tsplus_module_1 from "@tsplus/stdlib/data/Function";
import * as tsplus_module_2 from "@effect/core/io/FiberRef/operations/unsafeMakePatch";
/**
 * @tsplus static ets/FiberRef/Ops unsafeMake
 */

export function unsafeMake(initial, fork = tsplus_module_1.identity, join = (_, a) => a) {
  return tsplus_module_2.unsafeMakePatch(initial, (_, newValue) => () => newValue, (first, second) => value => second(first(value)), patch => value => join(value, patch(value)), fork);
}
//# sourceMappingURL=unsafeMake.mjs.map