@typed/maybe
Advanced tools
Comparing version 10.0.1 to 10.0.2
@@ -13,4 +13,4 @@ "use strict"; | ||
function __ap(fn, maybe) { | ||
return chain_1.chain(f => map_1.map(f, maybe), fn); | ||
return chain_1.chain((f) => map_1.map(f, maybe), fn); | ||
} | ||
//# sourceMappingURL=ap.js.map |
@@ -13,4 +13,4 @@ "use strict"; | ||
function __map(f, maybe) { | ||
return chain_1.chain(a => Maybe_1.Maybe.of(f(a)), maybe); | ||
return chain_1.chain((a) => Maybe_1.Maybe.of(f(a)), maybe); | ||
} | ||
//# sourceMappingURL=map.js.map |
@@ -11,4 +11,4 @@ import { curry } from '@typed/lambda'; | ||
function __ap(fn, maybe) { | ||
return chain(f => map(f, maybe), fn); | ||
return chain((f) => map(f, maybe), fn); | ||
} | ||
//# sourceMappingURL=ap.js.map |
@@ -11,4 +11,4 @@ import { curry } from '@typed/lambda'; | ||
function __map(f, maybe) { | ||
return chain(a => Maybe.of(f(a)), maybe); | ||
return chain((a) => Maybe.of(f(a)), maybe); | ||
} | ||
//# sourceMappingURL=map.js.map |
{ | ||
"name": "@typed/maybe", | ||
"version": "10.0.1", | ||
"version": "10.0.2", | ||
"description": "Data structure for working with values that may not exist", | ||
@@ -26,3 +26,3 @@ "main": "./cjs/index.js", | ||
"dependencies": { | ||
"@typed/lambda": "^3.0.1" | ||
"@typed/lambda": "^3.1.0" | ||
}, | ||
@@ -36,4 +36,4 @@ "publishConfig": { | ||
"sideEffects": false, | ||
"gitHead": "d5578d8b3b96e3415e3503a57e3e07426b2f4e55", | ||
"gitHead": "f816987ed8a1f8fe776e181c1ea6c4980fa4145b", | ||
"unpkg": "./umd/index.js" | ||
} |
@@ -17,3 +17,3 @@ import { curry } from '@typed/lambda' | ||
function __ap<A, B>(fn: Maybe<(value: A) => B>, maybe: Maybe<A>): Maybe<B> { | ||
return chain(f => map(f, maybe), fn) | ||
return chain((f) => map(f, maybe), fn) | ||
} |
@@ -16,3 +16,3 @@ import { curry } from '@typed/lambda' | ||
function __map<A, B>(f: (value: A) => B, maybe: Maybe<A>): Maybe<B> { | ||
return chain(a => Maybe.of(f(a)), maybe) | ||
return chain((a) => Maybe.of(f(a)), maybe) | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
315398
Updated@typed/lambda@^3.1.0