import type { Either } from "../Either"; import * as X from "../XPure"; import type { Sync } from "./model"; /* * ------------------------------------------- * Run Sync * ------------------------------------------- */ export const runEither: (sync: Sync) => Either = X.runEither; export const runEitherEnv_: (sync: Sync, env: R) => Either = X.runEitherEnv_; export const runEitherEnv: (env: R) => (sync: Sync) => Either = X.runEitherEnv; export const runIO: (sync: Sync) => A = X.runIO;