// ets_tracing: off import type { _A, _E, _R } from "../Utils/index.js" import type { Effect } from "./effect.js" /** * Compact the union produced by the result of f * * @ets_optimize identity */ export function unionFn>( _: (...args: ARGS) => Ret ): (...args: ARGS) => Effect<_R, _E, _A> { return _ as any } /** * Compact the union * * @ets_optimize identity */ export function union>( _: Ret ): Effect<_R, _E, _A> { return _ as any }