time-to-botec/squiggle/node_modules/@rescript/std/lib/js/js_promise.js
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

16 lines
259 B
JavaScript

'use strict';
var Curry = require("./curry.js");
function then_(arg1, obj) {
return obj.then(Curry.__1(arg1));
}
function $$catch(arg1, obj) {
return obj.catch(Curry.__1(arg1));
}
exports.then_ = then_;
exports.$$catch = $$catch;
/* No side effect */