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