// ets_tracing: off import * as core from "./core.js" import type { Effect } from "./effect.js" /** * Provides some of the environment required to run this effect, * leaving the remainder `R0`. */ export function provideSome_( effect: Effect, f: (r0: R0) => R, __trace?: string ) { return core.accessM((r0: R0) => core.provideAll_(effect, f(r0)), __trace) } /** * Provides some of the environment required to run this effect, * leaving the remainder `R0`. * * @ets_data_first provideSome_ */ export function provideSome(f: (r0: R0) => R, __trace?: string) { return (effect: Effect) => provideSome_(effect, f, __trace) }