UNPKG

@nprindle/minewt

Version:

Minimal newtypes for TypeScript

20 lines 441 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.liftN2 = exports.liftN = exports.unwrap = exports.newtype = void 0; function newtype() { return x => x; } exports.newtype = newtype; function unwrap(x) { return x; } exports.unwrap = unwrap; function liftN(f) { return f; } exports.liftN = liftN; function liftN2(f) { return f; } exports.liftN2 = liftN2; //# sourceMappingURL=Newtypes.js.map