Skip to content

Pipeline function?Β #369

@samfrances

Description

@samfrances

I was thinking of contributing a pipeline function, which is the same as compose but reversing the arguments.

compose(f, g, h)(x, y) is the same as f(g(h(x, y))), which is the same as pipeline(h, g, f)(x, y).

Personally, I find this ordering easier to read and reason about.

However, the contributions section of the README suggests that it might be best to check issues for contribution ideas, so I thought I would canvas for opinions before contributing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions