PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@celo/contractkit/node_modules/fp-ts/es6
Просмотр файла: Const.js
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
import { unsafeCoerce, identity } from './function';
import { pipeable } from './pipeable';
/**
* @since 2.0.0
*/
export var URI = 'Const';
/**
* @since 2.0.0
*/
export var make = unsafeCoerce;
/**
* @since 2.0.0
*/
export function getShow(S) {
return {
show: function (c) { return "make(" + S.show(c) + ")"; }
};
}
/**
* @since 2.0.0
*/
export var getEq = identity;
/**
* @since 2.0.0
*/
export function getApply(S) {
return {
URI: URI,
_E: undefined,
map: const_.map,
ap: function (fab, fa) { return make(S.concat(fab, fa)); }
};
}
/**
* @since 2.0.0
*/
export function getApplicative(M) {
return __assign(__assign({}, getApply(M)), { of: function () { return make(M.empty); } });
}
/**
* @since 2.0.0
*/
export var const_ = {
URI: URI,
map: unsafeCoerce,
contramap: unsafeCoerce
};
var _a = pipeable(const_), contramap = _a.contramap, map = _a.map;
export {
/**
* @since 2.0.0
*/
contramap,
/**
* @since 2.0.0
*/
map };
Выполнить команду
Для локальной разработки. Не используйте в интернете!