// ets_tracing: off
import * as E from "../../../../Either";
import * as MergeWith from "./mergeWith";
/**
 * Merges this stream and the specified stream together to produce a stream of
 * eithers.
 */

export function mergeEither_(self, that) {
  return MergeWith.mergeWith(self, that, E.left, E.right);
}
/**
 * Merges this stream and the specified stream together to produce a stream of
 * eithers.
 *
 * @ets_data_first mergeEither_
 */

export function mergeEither(that) {
  return self => mergeEither_(self, that);
}
//# sourceMappingURL=mergeEither.js.map