// ets_tracing: off
import * as Tp from "../../../../Collections/Immutable/Tuple";
import * as Cross from "./cross";
import * as Map from "./map";
/**
 * Composes this stream with the specified stream to create a cartesian product of elements,
 * but keeps only elements from this stream.
 * The `that` stream would be run multiple times, for every element in the `this` stream.
 */

export function crossLeft_(self, that) {
  return Map.map_(Cross.cross_(self, that), Tp.get(0));
}
/**
 * Composes this stream with the specified stream to create a cartesian product of elements,
 * but keeps only elements from this stream.
 * The `that` stream would be run multiple times, for every element in the `this` stream.
 *
 * @ets_data_first crossLeft_
 */

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