// tracing: off
import * as A from "../../Collections/Immutable/Chunk"
import { mapChunks_ } from "./mapChunks"
/**
 * Performs a filter and map in a single step.
 */

export function collect_(self, f) {
  return mapChunks_(self, A.filterMap(f))
}
/**
 * Performs a filter and map in a single step.
 */

export function collect(f) {
  return (self) => collect_(self, f)
}
//# sourceMappingURL=collect.js.map
