UNPKG

dashp

Version:

Utilities for monadic promises.

15 lines (10 loc) 333 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _Future = require("./Future"); var _curry = require("./internal/curry"); var _default = (0, _curry.curry2)("caught", (f, p) => (0, _Future.of)(p).catch(f)); exports.default = _default; //# sourceMappingURL=caught.js.map