Skip to content

Pairwise operator #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

mdbenito
Copy link

@mdbenito mdbenito commented Jun 17, 2025

Changes

This PR

  • Adds the pairwise operator. It's equivalent to (buffer 2 1), except for the type returned
  • Adds a couple of gitignored paths
  • Quickly mentions testing in CONTRIBUTING.md to avoid new contributors being led astray by the tests.edn file

Questions

pairwise creates arrays from tuples of emitted values. The type returned by rxjs is a javascript array. I thought of mapping through vec to have a clj type, but in the end I have not, since no type conversion is performed elswhere in beicon. Is this acceptable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant