UNPKG

monads-co

Version:

An implementation of Haskell's type classes in TS

10 lines 258 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Functor = void 0; class Functor { replaceA(value) { return this.map(() => value); } } exports.Functor = Functor; //# sourceMappingURL=Functor.js.map