// tracing: off
import { succeed, tryOrElse_ } from "./core"
/**
 * Executes this effect and returns its value, if it succeeds, but
 * otherwise executes the specified effect.
 */

export function orElse_(self, that, __trace) {
  return tryOrElse_(self, that, succeed, __trace)
}
/**
 * Executes this effect and returns its value, if it succeeds, but
 * otherwise executes the specified effect.
 *
 * @dataFirst orElse_
 */

export function orElse(that, __trace) {
  return (self) => orElse_(self, that, __trace)
}
//# sourceMappingURL=orElse.js.map
