"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
exports.flipWith_ = exports.flipWith = void 0
const flip_1 = require("./flip")
/**
 * Swaps the error/value parameters, applies the function `f` and flips the parameters back
 *
 * @dataFirst flipWith_
 */
function flipWith(f, __trace) {
  return (self) => flipWith_(self, f, __trace)
}
exports.flipWith = flipWith
/**
 * Swaps the error/value parameters, applies the function `f` and flips the parameters back
 */
function flipWith_(self, f, __trace) {
  return (0, flip_1.flip)(f((0, flip_1.flip)(self)), __trace)
}
exports.flipWith_ = flipWith_
//# sourceMappingURL=flipWith.js.map
