Skip to content
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

pair: add S.pair #609

Merged
merged 1 commit into from Mar 17, 2019

Conversation

Projects
None yet
4 participants
@davidchambers
Copy link
Member

davidchambers commented Mar 13, 2019

This function is similar to the functions added in #592 and #593. The fact that fst, snd, and swap can be defined in terms of pair demonstrates the foundational nature of pair.

test/pair~.js is horribly named for compatibility with case-insensitive file systems. ;)

/cc @puffnfresh

@davidchambers davidchambers requested review from Avaq and masaeedu Mar 13, 2019

@sphvn

sphvn approved these changes Mar 13, 2019

Copy link

sphvn left a comment

lgtm

@Avaq

Avaq approved these changes Mar 14, 2019

@davidchambers davidchambers merged commit 6b8ba43 into master Mar 17, 2019

1 check passed

ci/circleci Your tests passed on CircleCI!
Details

@davidchambers davidchambers deleted the davidchambers/pair branch Mar 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.