// JS version of Effect.ts for `node --experimental-strip-types` parity.
// Perry compiles from the .ts when present (compile_packages prefers
// `src/<name>.ts`); Node imports the .js. The user's import resolves to
// `./Effect.js` literally, and both runtimes follow the same path.
class EffectInst {
  constructor(value) {
    this._tag = "Commit";
    this.value = value;
  }
}
export const succeed = (v) => new EffectInst(v);
export const runSync = (e) => e.value;
