@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
10 lines (9 loc) • 514 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ptraceStr = exports.pshowStr = void 0;
var types_1 = require("../../type_system/types.js");
var builtins_1 = require("../builtins/index.js");
var phoist_1 = require("../phoist.js");
var plam_1 = require("../plam.js");
exports.pshowStr = (0, builtins_1.pid)(types_1.str);
exports.ptraceStr = (0, phoist_1.phoist)((0, plam_1.plam)(types_1.str, types_1.str)(function (s) { return (0, builtins_1.ptrace)(types_1.str).$(s).$(s); }));