"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
exports.orElseSucceed = exports.orElseSucceed_ = void 0
const orElse_1 = require("./orElse")
const succeed_1 = require("./succeed")
/**
 * Succeeds with the specified value if this one fails with a typed error.
 */
function orElseSucceed_(self, o1) {
  return (0, orElse_1.orElse_)(self, (0, succeed_1.succeed)(o1))
}
exports.orElseSucceed_ = orElseSucceed_
/**
 * Succeeds with the specified value if this one fails with a typed error.
 */
function orElseSucceed(o1) {
  return (self) => orElseSucceed_(self, o1)
}
exports.orElseSucceed = orElseSucceed
//# sourceMappingURL=orElseSucceed.js.map
