From 9c531794ca69346f38740e002687e4bd55fcb6b9 Mon Sep 17 00:00:00 2001 From: gcanti Date: Mon, 17 Oct 2022 08:10:53 +0200 Subject: [PATCH] Semigroupal: remove useless zipWith export --- .changeset/thin-moles-tell.md | 5 +++++ src/Semigroupal.ts | 11 ----------- 2 files changed, 5 insertions(+), 11 deletions(-) create mode 100644 .changeset/thin-moles-tell.md diff --git a/.changeset/thin-moles-tell.md b/.changeset/thin-moles-tell.md new file mode 100644 index 000000000..c744fe6ae --- /dev/null +++ b/.changeset/thin-moles-tell.md @@ -0,0 +1,5 @@ +--- +"@fp-ts/core": patch +--- + +Semigroupal: remove useless zipWith export diff --git a/src/Semigroupal.ts b/src/Semigroupal.ts index 72c717d95..3d6791135 100644 --- a/src/Semigroupal.ts +++ b/src/Semigroupal.ts @@ -93,17 +93,6 @@ export const zip = (Semigroupal: Semigroupal) => ): Kind => pipe(self, Semigroupal.zipWith(that, (a, b) => [a, b])) -/** - * Zips this effect with the specified effect using the - * specified combiner function. - * - * @since 1.0.0 - */ -export const zipWith = (Semigroupal: Semigroupal) => - (that: Kind, f: (a: A, b: B) => C) => - (self: Kind): Kind => - pipe(self, Semigroupal.zipWith(that, f)) - /** * Returns an effect that executes both this effect and the specified effect, * in parallel, this effect result returned. If either side fails, then the