Comparing version 2.16.1 to 2.16.2
@@ -977,3 +977,3 @@ import { getApplicativeMonoid } from './Applicative'; | ||
*/ | ||
export var chainOptionKW = /*#__PURE__*/ chainOptionK; | ||
export var chainOptionKW = chainOptionK; | ||
/** @internal */ | ||
@@ -980,0 +980,0 @@ var _FromEither = { |
@@ -89,3 +89,3 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
export var flatMapNullable = function (F, M) { | ||
/*#__PURE__*/ return dual(3, function (self, f, onNullable) { | ||
return /*#__PURE__*/ dual(3, function (self, f, onNullable) { | ||
return M.flatMap(self, liftNullable(F)(f, onNullable)); | ||
@@ -96,7 +96,7 @@ }); | ||
export var flatMapOption = function (F, M) { | ||
/*#__PURE__*/ return dual(3, function (self, f, onNone) { return M.flatMap(self, liftOption(F)(f, onNone)); }); | ||
return /*#__PURE__*/ dual(3, function (self, f, onNone) { return M.flatMap(self, liftOption(F)(f, onNone)); }); | ||
}; | ||
/** @internal */ | ||
export var flatMapEither = function (F, M) { | ||
/*#__PURE__*/ return dual(2, function (self, f) { | ||
return /*#__PURE__*/ dual(2, function (self, f) { | ||
return M.flatMap(self, function (a) { return F.fromEither(f(a)); }); | ||
@@ -107,3 +107,3 @@ }); | ||
export var flatMapIO = function (F, M) { | ||
/*#__PURE__*/ return dual(2, function (self, f) { | ||
return /*#__PURE__*/ dual(2, function (self, f) { | ||
return M.flatMap(self, function (a) { return F.fromIO(f(a)); }); | ||
@@ -114,3 +114,3 @@ }); | ||
export var flatMapTask = function (F, M) { | ||
/*#__PURE__*/ return dual(2, function (self, f) { | ||
return /*#__PURE__*/ dual(2, function (self, f) { | ||
return M.flatMap(self, function (a) { return F.fromTask(f(a)); }); | ||
@@ -121,5 +121,5 @@ }); | ||
export var flatMapReader = function (F, M) { | ||
/*#__PURE__*/ return dual(2, function (self, f) { | ||
return /*#__PURE__*/ dual(2, function (self, f) { | ||
return M.flatMap(self, function (a) { return F.fromReader(f(a)); }); | ||
}); | ||
}; |
@@ -106,3 +106,3 @@ "use strict"; | ||
var flatMapNullable = function (F, M) { | ||
/*#__PURE__*/ return (0, function_1.dual)(3, function (self, f, onNullable) { | ||
return /*#__PURE__*/ (0, function_1.dual)(3, function (self, f, onNullable) { | ||
return M.flatMap(self, (0, exports.liftNullable)(F)(f, onNullable)); | ||
@@ -114,3 +114,3 @@ }); | ||
var flatMapOption = function (F, M) { | ||
/*#__PURE__*/ return (0, function_1.dual)(3, function (self, f, onNone) { return M.flatMap(self, (0, exports.liftOption)(F)(f, onNone)); }); | ||
return /*#__PURE__*/ (0, function_1.dual)(3, function (self, f, onNone) { return M.flatMap(self, (0, exports.liftOption)(F)(f, onNone)); }); | ||
}; | ||
@@ -120,3 +120,3 @@ exports.flatMapOption = flatMapOption; | ||
var flatMapEither = function (F, M) { | ||
/*#__PURE__*/ return (0, function_1.dual)(2, function (self, f) { | ||
return /*#__PURE__*/ (0, function_1.dual)(2, function (self, f) { | ||
return M.flatMap(self, function (a) { return F.fromEither(f(a)); }); | ||
@@ -128,3 +128,3 @@ }); | ||
var flatMapIO = function (F, M) { | ||
/*#__PURE__*/ return (0, function_1.dual)(2, function (self, f) { | ||
return /*#__PURE__*/ (0, function_1.dual)(2, function (self, f) { | ||
return M.flatMap(self, function (a) { return F.fromIO(f(a)); }); | ||
@@ -136,3 +136,3 @@ }); | ||
var flatMapTask = function (F, M) { | ||
/*#__PURE__*/ return (0, function_1.dual)(2, function (self, f) { | ||
return /*#__PURE__*/ (0, function_1.dual)(2, function (self, f) { | ||
return M.flatMap(self, function (a) { return F.fromTask(f(a)); }); | ||
@@ -144,3 +144,3 @@ }); | ||
var flatMapReader = function (F, M) { | ||
/*#__PURE__*/ return (0, function_1.dual)(2, function (self, f) { | ||
return /*#__PURE__*/ (0, function_1.dual)(2, function (self, f) { | ||
return M.flatMap(self, function (a) { return F.fromReader(f(a)); }); | ||
@@ -147,0 +147,0 @@ }); |
{ | ||
"name": "fp-ts", | ||
"version": "2.16.1", | ||
"version": "2.16.2", | ||
"description": "Functional programming in TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4720509