"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
exports.crossLeft = exports.crossLeft_ = void 0
// tracing: off
const crossWith_1 = require("./crossWith")
/**
 * 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.
 *
 * See also `Stream#zip` for the more common point-wise variant.
 */
function crossLeft_(self, that) {
  return (0, crossWith_1.crossWith_)(self, that, (o) => o)
}
exports.crossLeft_ = crossLeft_
/**
 * 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.
 *
 * See also `Stream#zip` for the more common point-wise variant.
 *
 * @dataFirst crossLeft_
 */
function crossLeft(that) {
  return (self) => crossLeft_(self, that)
}
exports.crossLeft = crossLeft
//# sourceMappingURL=crossLeft.js.map
