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

Improve the array comparison experience #49

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

som-snytt
Copy link

@som-snytt som-snytt commented Nov 23, 2020

This PR follows up two issues:

  • a comment that Array.equals(xs, ys) is not convenient to use, as documented in the linked PR.
  • an issue that toHexString sign-extends bytes because the API is on Int.

The issue with toHexString just came up on stackoverflow, so it's a thing.

This PR is also just to see how contributions here work. Also it looks like there is a JS issue.

@julienrf
Copy link
Contributor

Hey @som-snytt, thanks for the PR! Do you mind elaborating on the motivation for introducing these new methods?

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.

None yet

2 participants