const fileName_1 = "(@effect/core) _src/io/Layer/operations/succeed.ts";
import * as tsplus_module_1 from "@tsplus/stdlib/service/Env";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/succeed";
import * as tsplus_module_3 from "@effect/core/io/Layer/operations/fromEffectEnvironment";
/**
 * Constructs a layer from the specified value.
 *
 * @tsplus static ets/Layer/Ops succeed
 */

export function succeed(tag) {
  return resource => tsplus_module_3.fromEffectEnvironment(() => tsplus_module_2.succeed(() => tsplus_module_1.Env(tag, resource()), fileName_1 + ":8:47"), fileName_1 + ":8:32");
}
//# sourceMappingURL=succeed.mjs.map