UNPKG

@effect-ts/system

Version:

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

18 lines (15 loc) 364 B
// ets_tracing: off import * as X from "./core.mjs"; function bind(tag, f) { return mk => X.chain_(mk, k => X.map_(f(k), a => ({ ...k, [tag]: a }))); } function let_(tag, f) { return mk => X.map_(mk, k => ({ ...k, [tag]: f(k) })); } const do_ = /*#__PURE__*/X.succeed({}); export { let_ as let, bind, do_ as do }; //# sourceMappingURL=do.mjs.map