import { $$reduce, reducer } from "./reduce.js";
import { reduced } from "./reduced.js";
function some(...args) {
  const res = $$reduce(some, args);
  if (res !== void 0) return res;
  const pred = args[0];
  return reducer(
    () => false,
    pred ? (acc, x) => pred(x) ? reduced(true) : acc : (acc, x) => x ? reduced(true) : acc
  );
}
export {
  some
};
