Skip to content

conduit-map of lazy seqs #2

@ronslow

Description

@ronslow

I have a function which operates on lazy seqs, such that when using map, I need a doall:

(map pipeline-fn lazy-seq) => only the first is sent through pipeline

(doall (map pipeline-fn lazy-seq)) => the whole seq is sent through pipeline

When I substitute conduit-map, only the first in the seq is fed to the pipeline, whether with or without doall:

(doall (conduit-map pipeline-proc lazy-seq)) => only the first is sent through the pipeline

What is the correct way to send a lazy seq through a pipeline using conduit?

Thanks

Robert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions