"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Chain = void 0;
class Chain {
    constructor(m_x) {
        this.m_x = m_x;
    }
    get result() {
        return this.m_x;
    }
    apply(fn) {
        return new Chain(fn(this.m_x));
    }
}
exports.Chain = Chain;
//# sourceMappingURL=chain.js.map