UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

12 lines (9 loc) 240 B
// ets_tracing: off import * as T from "./deps.js" import { fromEffect } from "./fromEffect.js" /** * Lift a pure value into an effect */ export function succeed<A>(a: A, __trace?: string) { return fromEffect(T.succeed(a), __trace) }